Skip to content

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

@jeremystretch

Description

@jeremystretch

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

Metadata

Metadata

Assignees

Labels

complexity: mediumRequires a substantial but not unusual amount of effort to implementstatus: acceptedThis issue has been accepted for implementationtopic: UI/UXUser interface or user experience related worktype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions