You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pressing enter in firewall rule "subforms" should not submit full form #1919
I instinctively press enter when trying to add a target or host, expecting it to be equivalent to clicking the add button, but instead it submits the whole form, which is very frustrating. This is especially bad because it can be hard to tell what you did and didn't change.
I'm having trouble replicating this issue, on either Firefox or Chrome. I think I'm following the described flow using the enter key as often as I can (highlight Host type input and hit enter to get dropdown; arrow key down/up to select one; hit enter to select; tab to next field; type in a string; tab to Add host filter button; hit enter → it adds a new host filter line; focus is still on button with now-emptied form, and I can tab from there onto the newly-created host line). Happy to try again if I'm missing a step in the bug replication.
Activity
charliepark commentedon Jan 30, 2024
I'm having trouble replicating this issue, on either Firefox or Chrome. I think I'm following the described flow using the enter key as often as I can (highlight
Host typeinput and hit enter to get dropdown; arrow key down/up to select one; hit enter to select; tab to next field; type in a string; tab toAdd host filterbutton; hit enter → it adds a new host filter line; focus is still on button with now-emptied form, and I can tab from there onto the newly-created host line). Happy to try again if I'm missing a step in the bug replication.david-crespo commentedon Jan 30, 2024
I'm hitting enter while still in the value field, not tabbing to the button.