Disable rack face / position when creating child devices #356

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

Originally created by @Armadill0 on GitHub (Aug 12, 2016).

This is a follow-up of #327. The former issue requested to disable rack face and position fields for child devices, which has been implemented (c643e3a), when assigning child devices.
It has not been done if new devices with a child hardware type are going to be created. As I got no response on the other ticket and on IRC, I'm opening this new issue.

Would be great if you could implement this for the page "Devices/Add a device" (/dcim/devices/add/), too. 😄

Originally created by @Armadill0 on GitHub (Aug 12, 2016). This is a follow-up of #327. The former issue requested to disable rack face and position fields for child devices, which has been implemented (c643e3a), when assigning child devices. It has not been done if new devices with a child hardware type are going to be created. As I got no response on the other ticket and on IRC, I'm opening this new issue. Would be great if you could implement this for the page "Devices/Add a device" (/dcim/devices/add/), too. :smile:
adam added the type: bug label 2025-12-29 16:21:14 +01:00
adam closed this issue 2025-12-29 16:21:14 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 28, 2017):

Disabling these fields would require rewriting the entire live selection logic. This is probably best deferred until we revamp the UI to be API-driven in NetBox v3. However, I have improved form validation so that errors are now correctly displayed when attempting to mount a child device to a rack face/position.

@jeremystretch commented on GitHub (Jul 28, 2017): Disabling these fields would require rewriting the entire live selection logic. This is probably best deferred until we revamp the UI to be API-driven in NetBox v3. However, I have improved form validation so that errors are now correctly displayed when attempting to mount a child device to a rack face/position.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#356