1👍
You can use the v-model
prop.
<v-file-input v-model="myFileObject"></v-file-input>
The myFileObject contains either a single file object, or is an array of file objects. You can find more on the v-file-input documentation.
You must also specify the myFileObject in your data.
data: () => ({
myFileObject: null
})
👤LMB
- [Vuejs]-What would be the best way to check if any of the keys in an array of objects contain a value from an object of arrays array?
- [Vuejs]-SVG Blur Filter not working on iOS wkwebview
Source:stackexchange.com