File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ export const VFileInput = genericComponent<VFileInputSlots>()({
94
94
95
95
setup ( props , { attrs, emit, slots } ) {
96
96
const { t } = useLocale ( )
97
+ const inputRef = ref < HTMLInputElement > ( )
97
98
const model = useProxiedModel (
98
99
props ,
99
100
'modelValue' ,
@@ -125,7 +126,6 @@ export const VFileInput = genericComponent<VFileInputSlots>()({
125
126
} )
126
127
const vInputRef = ref < VInput > ( )
127
128
const vFieldRef = ref < VInput > ( )
128
- const inputRef = ref < HTMLInputElement > ( )
129
129
const isActive = toRef ( ( ) => isFocused . value || props . active )
130
130
const isPlainOrUnderlined = computed ( ( ) => [ 'plain' , 'underlined' ] . includes ( props . variant ) )
131
131
function onFocus ( ) {
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ export const VFileUpload = genericComponent<VFileUploadSlots>()({
99
99
setup ( props , { attrs, slots } ) {
100
100
const { t } = useLocale ( )
101
101
const { densityClasses } = useDensity ( props )
102
+ const inputRef = ref < HTMLInputElement | null > ( null )
102
103
const model = useProxiedModel (
103
104
props ,
104
105
'modelValue' ,
@@ -113,7 +114,6 @@ export const VFileUpload = genericComponent<VFileUploadSlots>()({
113
114
114
115
const dragOver = shallowRef ( false )
115
116
const vSheetRef = ref < InstanceType < typeof VSheet > | null > ( null )
116
- const inputRef = ref < HTMLInputElement | null > ( null )
117
117
118
118
onMounted ( ( ) => {
119
119
vSheetRef . value ?. $el . addEventListener ( 'dragover' , onDragOver )
You can’t perform that action at this time.
0 commit comments