Skip to content

Using the enter key to submit a form during object creation defaults to "save & add another" #9437

@amit177

Description

@amit177

NetBox version

v3.2.3

Python version

3.9

Steps to Reproduce

  1. Install netbox
  2. Add a rack
  3. Add a new device to the rack
  4. Add an interface to the device and press enter instead of clicking on the Create button
  5. It will refresh the page instead of redirecting to redirect_url

Expected Behavior

The website should redirect to the link in the redirect_url parameter

Observed Behavior

The website redirects to the same page again as if "create & add another" was clicked

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions