Skip to content

bug: hitting enter on the keyboard leads to reset of the form #43

@th-huber

Description

@th-huber

When the user types in changes in the form and than hits enter, the changes are not saved but reset.

This behaviour was found in

  • project configuration / loaners / addional fields (fixed in c099a619a0deb7e40741d93fb8f9d1162a4d0598)
  • loaner details

Probalby more...

Root cause: "Enter" triggers a submit Event. If no submit button is defined the browser choses the first - and finds the reset button.

What sould be done when entering:

  • Dialogs: Save and close
  • Forms: Do nothing

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions