Hi there
I am experiencing a problem with the submit buttons becoming disabled on a basic "contact" webform when attempting to upload a file. I am using Drupal 8.9.2 and Webform 5.19
Steps to reproduce:
1. From a webform which has the option to upload a file, choose a file to upload.
2. While the file upload is still in progress, click to submit the form.
3. When the alert "File upload in progress. Uploaded file may be lost. Do you want to continue?" appears, click "Cancel".
4. The submit button remains disabled until the page is refreshed.
Any help with this would be greatly appreciated.
Thanks
Laura
Comments
Comment #2
jrockowitz commentedI am not able to replicate this issue using the Bartik theme. Are you able to replicate this issue using https://simplytest.me?
Comment #3
laurab commentedI had some trouble getting this to work with https://simplytest.me.
However, on my test environment, it seems the issue does not occur if the webform.form.submit_once.js script is blocked. I had also switched to the Bartik theme.
Comment #4
jrockowitz commentedThe attached webform replicates the issue and the attached patch fixes the issue.
Comment #5
laurab commentedThis patch fixed my issue entirely, thanks very much.
Comment #8
jrockowitz commented