From 002ae8d553275dfaea5c461bbed2e854293f8e21 Mon Sep 17 00:00:00 2001 From: John Leider Date: Wed, 1 May 2024 10:54:37 -0500 Subject: [PATCH] fix(VFileInput): update:modelValue emit value --- packages/vuetify/src/components/VFileInput/VFileInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vuetify/src/components/VFileInput/VFileInput.tsx b/packages/vuetify/src/components/VFileInput/VFileInput.tsx index 7f2eb4786a0..6e613ab7a0d 100644 --- a/packages/vuetify/src/components/VFileInput/VFileInput.tsx +++ b/packages/vuetify/src/components/VFileInput/VFileInput.tsx @@ -88,7 +88,7 @@ export const VFileInput = genericComponent()({ 'click:control': (e: MouseEvent) => true, 'mousedown:control': (e: MouseEvent) => true, 'update:focused': (focused: boolean) => true, - 'update:modelValue': (files: File[]) => true, + 'update:modelValue': (files: File | File[]) => true, }, setup (props, { attrs, emit, slots }) {