Closed mcasto closed 3 years ago
I should add that, aside from the error in the console, everything seems to work. When I click on the File Input field, I get a dialog & can select a file. The data for that file ends up in the model as I expect, so this isn't really a deal breaker for me (e.g.: I'll be able to use VFormBase regardless), but I would like to address the error.
Well ... never mind. I figured it out on my own.
I defaulted model.image to an empty string (I don't know why I did that, but ...). I changed it to an empty object, and the error went away.
Vuetifys <VFileInput> expects as value a single or array of File objects depending on prop "multiple" true or not.
My model:
My schema:
This is the first time I've used the Field Input aspect of VFormBase, so it's probably something I'm doing wrong, but I get an error when the form renders:
Any ideas on what's causing this and how to resolve it?
Thanks.