Wappler Version : 6.5.2
Operating System : Mac
Server Model: Nodejs
Database Type: mysql
Hosting Type: AWS Docker
Expected behavior
Dropzone validation of Accept Files should accept the files listed.
Actual behavior
Dropzone displays an error even though the right file extension is uploaded.
How to reproduce
- Create a form.
- Add an upload file field.
- Convert to dropzone.
- Select a validation rule > Accept and enter a file extension list (.jpg,.jpeg,.gif,.bmp,.pdf,.png).
- Save page.
- Run page.
Note: I do have two dropzone fields in the same form, but they have different IDs and Names. Both show the same error, although they are set to accept different file types
Here is a screenshot of the dropzone options:
Here is the code from the page:
<input type="file" class="form-control" id="inp_ap" name="ap" aria-describedby="inp_ap_help" is="dmx-dropzone" accept=".jpg,.jpeg,.gif,.bmp,.pdf,.png" data-rule-minfiles="1">
Here is a screenshot of the error: