npx ui-thing@latest add vee-file-input
Why not use the VeeInput
to accept file uploads? Well, we cannot force select a file from a user's device so the way how data binding works with file inputs and vee-validate
is a bit different. According to the docs it is better to use the handleChange
and handleBlur
methods to handle the file input changes.