You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library is adding a dot before the file type when declaring video/*, audio/* or image/* in the input accept attribute. This is causing a syntax error when attempting to set types={ ['video/*'] }, as it results in <input accept=".video/*" type="file">. Is there a way to prevent the library from automatically adding the dot in these cases?
The text was updated successfully, but these errors were encountered:
Sorry, this is not available now but could be a feature in the future.
If you could attribute by adding it this could be great! we could have globalTypes optional array
The library is adding a dot before the file type when declaring
video/*
,audio/*
orimage/*
in the inputaccept
attribute. This is causing a syntax error when attempting to settypes={ ['video/*'] }
, as it results in<input accept=".video/*" type="file">
. Is there a way to prevent the library from automatically adding the dot in these cases?The text was updated successfully, but these errors were encountered: