Skip to content

Pressing enter in firewall rule "subforms" should not submit full form #1919

Closed

Description

@david-crespo

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.

image

Activity

  1. charliepark commented on Jan 30, 2024

    @charliepark
    Contributor

    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.

  2. david-crespo commented on Jan 30, 2024

    @david-crespo
    CollaboratorAuthor

    I'm hitting enter while still in the value field, not tabbing to the button.

  3. added this to the 6 milestone on Jan 31, 2024
  4. self-assigned this
    on Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions