[Feature Request] VFileUpload: Add props rules
Problem to solve
i can't check validation for my file on VFileUpload, i want to make sure the file is still valid from the type and size of file
Proposed solution
adding props rules for VFileUpload
We have a composable for rules have you tried looking into it? Here is the documentation for it: https://vuetifyjs.com/en/blog/announcing-vuetify-3.8/#userules-composable
my problem is VFileUpload can't provide rules props
example:
<v-file-upload accept="image/*" v-model="modelView" :title="title" density="compact" variant="compact" clearable show-size :rules="required">
based on documentation, VFileUpload has no rules props
By the way: The docs for the useRules composable are wrong and should be revised.
(PR: https://github.com/vuetifyjs/vuetify/pull/21267)
Thx :-)