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
Since HTML5, I think, you can specify a accept attribute on a file input. Couldn't we fetch content type validations on a paperclip input and set this attribute on the frontend ?
This could avoid uploading, say, a 1 GB file with a wrong type!
The text was updated successfully, but these errors were encountered:
Since HTML5, I think, you can specify a
accept
attribute on a file input. Couldn't we fetch content type validations on a paperclip input and set this attribute on the frontend ?This could avoid uploading, say, a 1 GB file with a wrong type!
The text was updated successfully, but these errors were encountered: