0๐
โ
I got it now:
<q-file
@input="getFile"
label="Upload file"
/>
methods: {
getFile(file) {
// file is in the file variable
this.mealToSubmit.photo = file
}
}
Source:stackexchange.com