A simple <input type="file" />
in some cases (sometimes limitations by browser or operationg system) it accepts only images and videos, no documents allowed...
Trying to play with accept=""
I tried those without success
accept=".*"
accept="*/*"
is there a way to force to accept ALL formats ? (I'll do javascript or php filters after...)
Because in my site, I deal with huge variety of different formats and file types like .csv, txt, videos, images, photos, 3d files, photoshop, zip, etc, etc, etc....
listing .pdf,.jpg,.jpeg....... there are some that I could forget and it would be a very long list
https://stackoverflow.com/questions/67352163/html-input-type-file-accept-all-any-format May 02, 2021 at 09:06AM
没有评论:
发表评论