Issue metadata
Sign in to add a comment
|
Submit not working after it has been preventDefaulted once
Reported by
fernando...@gmail.com,
Mar 22 2018
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Steps to reproduce the problem: 1. preventDefault the submission of a form. 2. Assign a flag variable so next time the form submits, it doesn't get preventDefaulted. 3. Submit the form once again. What is the expected behavior? The form to get submitted the second time. What went wrong? The form doesn't get submitted the second time. Did this work before? Yes Chrome version: 65.0.3325.181 Channel: stable OS Version: 10.0 Flash Version: Thanks.
,
Mar 23 2018
,
Mar 23 2018
Not reproducible with the following code. Would you provide a reproducible HTML/JavaScript code please? --------------------------------------------- <form method="post" action="http://httpbin.org/post"> <input type=submit> <label><input type=checkbox checked> preventDefault</label> </form> <script> document.querySelector('form').addEventListener('submit', (event) => { if (document.querySelector('input[type=checkbox]').checked) { event.preventDefault(); log('Prevented'); } }); function log(str) { document.querySelector('pre').textContent += str + '\n'; } </script> <pre></pre> ---------------------------------------------
,
Mar 26 2018
,
Mar 26 2018
Well, I should have included more info: I'm using jsPDF and after I save a document, that's when I can't submit the form. Not sure if it's a bug but I'm sure it didn't happen before.
,
Mar 26 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Mar 27 2018
fernando88osuna@ Thanks for the feedback. As per comment #3, request you to provide a sample File/URL where this issue can be reproduced, which will help in further triaging of the issue. Thanks..
,
Mar 29 2018
Reporter, we still need complete steps to reproduce the issue.
,
Apr 5 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 6 2018
As per comment #8, we still need the repro steps to reproduce the issue. Hence adding 'Needs-Feedback' label and removing the 'Needs-Bisect' label as exact steps are not available to reproduce the issue. Please feel free to add the 'Needs-Bisect' label once the complete steps are provided. Thanks..
,
Apr 12 2018
The NextAction date has arrived: 2018-04-12
,
Apr 13 2018
We don't have enough information to investigate this. Closing. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by fcojp...@gmail.com
, Mar 22 2018