N
N
nionly_quantum2020-07-29 16:41:14
Vue.js
nionly_quantum, 2020-07-29 16:41:14

Why doesn't Vue js upload work because of :id="value"?

I'm uploading photos to the database.
I work with vue js and for some reason because of :id="idUpload" The
photo just doesn't load.
The code:

<input :id="idUpload" @change="uploadFieldChange" name="img[]" :multiple="multiple" :accept="accept" type="file">

Without :id="idUpload" everything works, but without it the file upload window does not open....

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question