Dynamically render the custom field form based on the selected type #9021

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

Originally created by @jeremystretch on GitHub (Jan 2, 2024).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.7.0

Feature type

New functionality

Proposed functionality

Employ HTMX to re-render the custom field form, displaying only fields relevant to the selected field type. For instance, the "object type" field should be displayed only for object selection types, and the "choices" field should be displayed only for select and multi-select fields.

Use case

This will simplify the form, omitting irrelevant fields.

Database changes

None

External dependencies

None

Originally created by @jeremystretch on GitHub (Jan 2, 2024). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.7.0 ### Feature type New functionality ### Proposed functionality Employ HTMX to re-render the custom field form, displaying only fields relevant to the selected field type. For instance, the "object type" field should be displayed only for object selection types, and the "choices" field should be displayed only for select and multi-select fields. ### Use case This will simplify the form, omitting irrelevant fields. ### Database changes None ### External dependencies None
adam added the status: acceptedtype: featurecomplexity: mediumtopic: UI/UX labels 2025-12-29 20:44:17 +01:00
adam closed this issue 2025-12-29 20:44:18 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (May 15, 2024):

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 (May 15, 2024): 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/develop/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9021