Accept parameter should not pass "*" to input
Jaaneek opened this issue · comments
Jaaneek commented
https://html.spec.whatwg.org/multipage/input.html#attr-input-accept
Input does not handle accept="*", we are currently passing it there and so far it works on every browser, but it's not documented and might be changed in the future.
I guess something like
If(accept !== "*")
input.accept = accept
Should work
Jaaneek commented
Done, deployed