sid
1
Wappler Version : 6.8.0
Operating System : W11
Server Model: NodeJS
<input id="fileEditAttactments" name="TemplateHeader" dmx-bind:accept="(ddTemplate.data.header.format== 'DOCUMENT' || ddTemplate.data.header.format =='VIDEO' ? 'audio/*,video/*,image/*,application/pdf,application/vnd.ms-excel,application/msword' : (ddTemplate.data.header.format + '/*'))" type="file" class="form-control" is="dmx-dropzone" data-rule-maxsize="16777216" data-msg-maxsize="Please select a file of no more than 16 megabytes." dmx-bind:required="(ddTemplate.data.header.format=='IMAGE' || ddTemplate.data.header.format=='DOCUMENT' || ddTemplate.data.header.format=='VIDEO')">
For above input, converted to dropzone, validation does not happen when submitting the form.
This was working in AC1.
patrick
3
Could you check if the following update fixes the issue.
dmxDropzone.zip (9.9 KB)
sid
4
This does not fix the issue.
patrick
5
A new try: dmxDropzone.zip (9.9 KB)
sid
6
This one doesn't work either.
sid
7
Any update here @patrick ?
Got a new update for you: dmxDropzone.zip (9.8 KB)
sid
10
With this, its throwing a required error even when there is a file.
patrick
11
I had only multi upload fields in my test which worked, seems the problem was only with the single upload.
Have a new update: dmxDropzone.zip (9.9 KB)
system
Closed
14
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.