Open mbigul opened 1 year ago
If I'm not mistaken, the standard behavior for browsers is to always submits forms when enter
is used inside a single-line text input field (<input type="text">
). It's only in multi-line <textarea>
fields that it doesn't.
Do you think there's a reason to deviate from the standard behavior here, or is there something about the form that makes it look like it's a multi-line field?
Describe the bug
We were filling out our WordCamp application. It got submitted unexpectedly while pressing Enter Key in If there are businesses already interested in sponsoring, list them here. field. Please check the following screencast for more details.
https://www.screencast.com/t/LpdwhomonY7Q
To reproduce
Steps to reproduce the behavior:
Expected behavior
No form submission while pressing the enter key
Screenshots
https://www.screencast.com/t/LpdwhomonY7Q
WordCamp
https://central.wordcamp.org/wordcamp-organizer-application/
System (please complete the following information):
Security Issues
To report a security issue, please visit the WordPress HackerOne program: https://hackerone.com/wordpress.