Don't reset cable fields on add/edit form when device is added #10060

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

Originally created by @arthanson on GitHub (Aug 8, 2024).

NetBox version

v4.0.8

Feature type

Change to existing functionality

Proposed functionality

From fix in #17093 - That PR allows entering of multi-termination cables, but there is still an issue when you add a new device it will reset the child field which is an annoyance.

Code that does the reset is at: https://github.com/netbox-community/netbox/blob/develop/netbox/project-static/src/select/classes/dynamicTomSelect.ts#L347

Use case

If you are switching devices the child field needs to be reset, but if you are just adding a new device then the child field should not have to be reset.

Database changes

None

External dependencies

None

Originally created by @arthanson on GitHub (Aug 8, 2024). ### NetBox version v4.0.8 ### Feature type Change to existing functionality ### Proposed functionality From fix in #17093 - That PR allows entering of multi-termination cables, but there is still an issue when you add a new device it will reset the child field which is an annoyance. Code that does the reset is at: https://github.com/netbox-community/netbox/blob/develop/netbox/project-static/src/select/classes/dynamicTomSelect.ts#L347 ### Use case If you are switching devices the child field needs to be reset, but if you are just adding a new device then the child field should not have to be reset. ### Database changes None ### External dependencies None
adam closed this issue 2025-12-29 21:26:20 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Apr 25, 2025):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Apr 25, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/main/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (May 25, 2025):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (May 25, 2025): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10060