- 🇨🇭Switzerland berdir Switzerland
Needs to be a merge request now. Not sure if the server side check is really needed, what's the benefit of that?
Even though this is not inherent to DropzoneJS, but rather to Drupal core Javascript + Chrome, I experienced it heavily when using FileBrowser + DropzoneJS.
The problem
Validation error is triggered when double-clicking on "Select entities", the message displayed is:
"At least one valid file should be uploaded.".
This is the case for the Chrome web-browser, Firefox seems to be fine.
Reproducing
You can easily reproduce this problem without killing your index-finger.
Solution
Use a two-sided extension to the form submission and validation constraints:
References
Needs work
1.0
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Needs to be a merge request now. Not sure if the server side check is really needed, what's the benefit of that?