disable or fix fileupload validation
I need the accept attribute to be since it's the only attribute combination that gives mobile devices an option to either click a photo, or choose one from files/documents (which is exactly what I need). But when I do that, I can't upload any images as it gives me error : file of invalid type. How can I fix this?
code:
code:

Solution
Yes, I understood.
Is an invalid accept value and an empty
So just omit
capture="environment" says: Use the camera. So you only get camera option.<input type=“file” accept=“image/*;capture=camera”>Is an invalid accept value and an empty
capture.So just omit
capture?