Pressing the Enter key in the Quick Search textbox activates the Bulk Edit button #7354

Closed
opened 2025-12-29 20:22:14 +01:00 by adam · 1 comment
Owner

Originally created by @atownson on GitHub (Dec 14, 2022).

Originally assigned to: @arthanson on GitHub.

NetBox version

v3.3.9

Python version

3.8

Steps to Reproduce

  1. Navigate to any model's list view (i.e. .../dcim/devices/).
  2. Ensure there is at least one instantiated model present.
  3. Type something in the Quick Search textbox and hit the Enter key when done.

Expected Behavior

The search is performed once the Enter key is pressed.

Observed Behavior

The Enter key activates the Bulk Edit button, and an exception that no items were selected is shown.

image

The workaround for this is to obviously not hit the Enter key, but rather wait on the search to be applied. I believe this behavior was introduced in v3.3.8.

Originally created by @atownson on GitHub (Dec 14, 2022). Originally assigned to: @arthanson on GitHub. ### NetBox version v3.3.9 ### Python version 3.8 ### Steps to Reproduce 1. Navigate to any model's list view (i.e. .../dcim/devices/). 2. Ensure there is at least one instantiated model present. 3. Type something in the Quick Search textbox and hit the Enter key when done. ### Expected Behavior The search is performed once the Enter key is pressed. ### Observed Behavior The Enter key activates the Bulk Edit button, and an exception that no items were selected is shown. ![image](https://user-images.githubusercontent.com/52260120/207628284-50523c47-63a1-42c8-be4a-6616ad4d1755.png) The workaround for this is to obviously not hit the Enter key, but rather wait on the search to be applied. I believe this behavior was introduced in v3.3.8.
adam added the type: bugstatus: accepted labels 2025-12-29 20:22:14 +01:00
adam closed this issue 2025-12-29 20:22:15 +01:00
Author
Owner

@kkthxbye-code commented on GitHub (Dec 14, 2022):

Regression from https://github.com/netbox-community/netbox/pull/10848

The quick search input element is now inside the form. @arthanson

@kkthxbye-code commented on GitHub (Dec 14, 2022): Regression from https://github.com/netbox-community/netbox/pull/10848 The quick search input element is now inside the form. @arthanson
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7354