It would be useful to restrict what files are selectable in the file widget.
Is your feature request related to a problem? Please describe.
I found this related discussion but the pattern method does not appear to work (any more?).
Describe the solution you'd like
A new widget option is necessary to set the one more more values matching the accept attribute of the HTML file input element, like .jpg, video/*, or application/vnd.openxmlformats-officedocument.wordprocessingml.document
It would be useful to restrict what files are selectable in the
filewidget.Is your feature request related to a problem? Please describe.
I found this related discussion but the
patternmethod does not appear to work (any more?).Describe the solution you'd like
A new widget option is necessary to set the one more more values matching the
acceptattribute of the HTML file input element, like.jpg,video/*, orapplication/vnd.openxmlformats-officedocument.wordprocessingml.document