Description
NetBox version
v4.3.1
Feature type
Change to existing functionality
Proposed functionality
It's not currently possible to use colors effectively in Custom Fields. You can use create a select field and add a custom selection set, but it isn't currently possible to view those colors using the existing form widget.
I'm proposing to add an additional custom field type for color selection using the existing color choices making it possible to add a color selection to custom fields.
As an alternative approach, allow for overriding of which widget is used for a field and make the color choices available as a custom field base choice set (e.g. like IATA codes etc). This would provide greater flexibility and permit users to use custom color sets.
Use case
I have a requirement to assign color classifications to VRFs and some other models to enable some reporting outside of netbox.
This is presently done using a custom field, and I've manually extracted all the colours used by NetBox into extra field set, however, there is no rendering of the colors in the UI.
Database changes
None
External dependencies
None