6 Replies
here's my code:
First you should use
$fetch
instead of useFetch
as this is a user-interaction based.
For Image previews you create a URL from your file
value and then use that in your <template>
it gives me this error

You may want to log values to see what's wrong. Maybe you need to pass
file.value[0]
for examplei've got it worked. thank you :D