Editor: Limit Uploads to a Single File
Editor: Limit Uploads to a Single File
Michael Todd Glazier
Posts: 2Questions: 1Answers: 0
I'm using Datatables/Editor to build a menu manager, specifically for the file/image upload feature, but I need to limit the upload to a single image a time. Any thoughts? Unfortunately, the events relating to the upload feature are limited. Although you could hide the upload button, how wold you show it again if they cleared the field? Very confusing.
This discussion has been closed.
Answers
The file upload is limited to one by default as can be seen in this example.
Are you using the
upload-many
input type perhaps?Allan