Select all checkbox in Devices view doesn't select anything #5269

Closed
opened 2025-12-29 19:26:05 +01:00 by adam · 2 comments
Owner

Originally created by @tombe75 on GitHub (Aug 31, 2021).

NetBox version

v3.0.0

Python version

3.8

Steps to Reproduce

  1. Go to https://demo.netbox.dev/dcim/devices/
  2. Click checkbox to mark all devices next to Name header

Expected Behavior

All devices selected

Observed Behavior

No devices get selected, also verified in private Netbox test instance.

Originally created by @tombe75 on GitHub (Aug 31, 2021). ### NetBox version v3.0.0 ### Python version 3.8 ### Steps to Reproduce 1. Go to https://demo.netbox.dev/dcim/devices/ 2. Click checkbox to mark all devices next to Name header ### Expected Behavior All devices selected ### Observed Behavior No devices get selected, also verified in private Netbox test instance.
adam added the type: bug label 2025-12-29 19:26:05 +01:00
adam closed this issue 2025-12-29 19:26:05 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 31, 2021):

This looks like an exception in the Javascript stemming from an error where there exists a custom field with a space in the name. Deleting the custom field fixed the issue, but after recreating the custom field, I haven't been able to reproduce the error.

Someone on Slack also came across this. The error they observed in the browser console is below (where support provider is the name of the custom field).

Uncaught DOMException: Document.querySelector: 'label[for=id_cf_support provider]' is not a valid selector netbox.js:17

Again, I have been unable to reproduce this by creating a custom field either locally or on the public demo instance. I'm going to close out this issue, because it doesn't appear to have anything to do with the devices list specifically, but if someone can capture the steps needed to reproduce the issue, please open a new bug report with that information and we'll work on fixing it.

@jeremystretch commented on GitHub (Aug 31, 2021): This looks like an exception in the Javascript stemming from an error where there exists a custom field with a space in the name. Deleting the custom field fixed the issue, but after recreating the custom field, I haven't been able to reproduce the error. Someone on Slack also came across this. The error they observed in the browser console is below (where `support provider` is the name of the custom field). ``` Uncaught DOMException: Document.querySelector: 'label[for=id_cf_support provider]' is not a valid selector netbox.js:17 ``` Again, I have been unable to reproduce this by creating a custom field either locally or on the public demo instance. I'm going to close out this issue, because it doesn't appear to have anything to do with the devices list specifically, but if someone can capture the steps needed to reproduce the issue, please open a new bug report with that information and we'll work on fixing it.
Author
Owner

@jeremystretch commented on GitHub (Aug 31, 2021):

Disregard the above; it seems to have been fixed in #7075 already.

@jeremystretch commented on GitHub (Aug 31, 2021): Disregard the above; it seems to have been fixed in #7075 already.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5269