Skip to content

Custom Field UI - hidden if unset - independent of rw/ro #13299

@whtkam

Description

@whtkam

NetBox version

v3.5.7

Feature type

Change to existing functionality

Proposed functionality

I have many custom fields which only apply to a part of e.g. devices. With the "UI visibility" = "Hidden(if unset)" you can keep the UI clean for each device and you only see those that are set for the device. The problem and hence the feature reqest the "if unset" option should be independent of "Read/Write" or "Read only" option.

UI visibility:

  • Read/Write
  • Read/Write(if unset)
  • Read-only
  • Read-only(if unset)
  • Hidden

or maybe with a checkbox

UI visibility:

  • Read/Write

  • Read-only

  • Hidden

  • Hidden if unset

Use case

I have custom fields that are Ready-only but I don't want them to appear in the UI on every device as they have no meaning for those devices. So it would be good if I could select read-only and "hidden if unset". Maybe there is another way to achieve this, but I haven't found any.

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: 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