You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a prop accept like so: <input type="file" class="upload" @input="upload($event)" @click="clear($event)" :accept="accept" style="display:none">
props: { value: { type: String, default: '' }, accept: { type: String, default: '*' }, check: { type: Boolean, default: true } },
Would allow mobile devices to change input dialog. I use "image/jpeg,image/png" which brings last used images, gallery and camera access.
The text was updated successfully, but these errors were encountered:
heres the code: https://codesandbox.io/s/p9j2zw87qj
First input selects camera and photo related stuff.
Second input asks for many apps, because it accepts .pdf for example.
Hi,
file: clipper-upload.vue
Adding a prop
accept
like so:<input type="file" class="upload" @input="upload($event)" @click="clear($event)" :accept="accept" style="display:none">
props: { value: { type: String, default: '' }, accept: { type: String, default: '*' }, check: { type: Boolean, default: true } },
Would allow mobile devices to change input dialog. I use "image/jpeg,image/png" which brings last used images, gallery and camera access.
The text was updated successfully, but these errors were encountered: