[PR #20850] [MERGED] Closes #20841: Add selector widget to RackType field on the Rack EditForm #16066

Closed
opened 2025-12-30 00:25:37 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20850
Author: @pheus
Created: 11/20/2025
Status: Merged
Merged: 11/20/2025
Merged by: @jeremystretch

Base: mainHead: 20841-racktype-selector-widget


📝 Commits (1)

  • 6933e14 feat(dcim): Add selector widget to RackType field

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 netbox/dcim/forms/model_forms.py (+2 -1)

📄 Description

Fixes: #20841

This PR configures the RackType field on the rack add/edit form to use the selector widget.

Using the selector widget improves usability by:

  • Allowing users to search rack types instead of scrolling a long dropdown
  • Making it easier to filter and choose the correct rack type (e.g. by manufacturer)
  • Keeping the rack workflow consistent with other objects that already use selector modals

No model or API changes are introduced; this only updates the rack form UI.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/20850 **Author:** [@pheus](https://github.com/pheus) **Created:** 11/20/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `main` ← **Head:** `20841-racktype-selector-widget` --- ### 📝 Commits (1) - [`6933e14`](https://github.com/netbox-community/netbox/commit/6933e146035dd9300279f7ea31413d152f9e4c0d) feat(dcim): Add selector widget to RackType field ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/model_forms.py` (+2 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #20841 <!-- Please include a summary of the proposed changes below. --> This PR configures the `RackType` field on the rack add/edit form to use the selector widget. Using the selector widget improves usability by: - Allowing users to search rack types instead of scrolling a long dropdown - Making it easier to filter and choose the correct rack type (e.g. by manufacturer) - Keeping the rack workflow consistent with other objects that already use selector modals No model or API changes are introduced; this only updates the rack form UI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:25:37 +01:00
adam closed this issue 2025-12-30 00:25:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16066