[Bug Report][3.6.13] v-file-input rules uses Array value even when multiple
prop is false or not specified
#20247
Labels
Milestone
multiple
prop is false or not specified
#20247
Environment
Vuetify Version: 3.6.13
Vue Version: 3.4.27
Browsers: Chrome 127.0.0.0
OS: Linux x86_64
Steps to reproduce
Create a v-file-input without
multiple
property. Add a validation rule.Expected Behavior
The value passed to validation rules should be a
File
ornull
(to be consistent with the model value)Actual Behavior
The value passed to validation rules is an array
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
I suppose #17687 fixed the same behavior on the model, but not on the rules
The text was updated successfully, but these errors were encountered: