Change Accept Formats
When working with HTML <input />
element, we have an accept=""
attribute that works defining the visible file types into the file picker dialog. An better, and complete, description of this attribute can be found at MDN.
To define this attribute, with the ImageUploaderWidget
, we can set the attrs
property when instantiate the ImageUploaderWidget
, like: