Skip to content

Filter RackType by Manufacturer on the Rack EditForm #20841

@pheus

Description

@pheus

NetBox version

v4.4.6

Feature type

Change to existing functionality

Proposed functionality

When creating or editing a Rack, allow filtering the Rack type (RackType) choices by Manufacturer, aligning with the device/module workflow.

Two possible approaches (either would work):

  1. Manufacturer field + query params
    Add a Manufacturer ModelChoiceField to the Rack form and use its query_params to constrain the Rack type field to types from the selected manufacturer.

  2. Selector modal on Rack type
    Add/enable the Selector modal button for the Rack type field. The modal should expose a Manufacturer filter so the user can pick a vendor first, then select a Rack type from the filtered list.

Use case

Environments often deploy multiple rack models from different manufacturers. Filtering rack types by manufacturer shortens long mixed lists, speeds data entry, prevents vendor mix-ups, and keeps the UX consistent with devices and modules.

Database changes

None.

External dependencies

None.

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementnetboxstatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions