Allow filtering of ObjectVar and MultiObjectVar input selections for custom fields #18138
Labels
complexity: medium
Requires a substantial but not unusual amount of effort to implement
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v4.1.2
Feature type
New functionality
Triage priority
I volunteer to perform this work (if approved)
Proposed functionality
This is very simular to #17944
Proposing to extend the functionality of the object selection inputs (ObjectVar and MultiObjectVar) in Custom Fields to be able to filter the selection in the same fashion that's available in the create/edit forms.
Suggest adding the optional parameters selector (boolean with a default of False).
Use case
I wanted to add a custom field to "Provider Network" to assign a Network to a Interface. Adding the custom field Interface worked well, but just shows all the interfaces which is unusable. A selection filter would make this much easier to use so we could filter on a device and then choose the interface.
Database changes
None
External dependencies
None
The text was updated successfully, but these errors were encountered: