[PR #11767] [MERGED] Closes #11765: Remove StaticSelect & StaticSelectMultiple #13837

Closed
opened 2025-12-29 23:21:05 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/11767
Author: @jeremystretch
Created: 2/16/2023
Status: Merged
Merged: 2/16/2023
Merged by: @jeremystretch

Base: featureHead: 11765-remove-staticselect


📝 Commits (2)

  • a9a5712 Remove StaticSelect, StaticSelectMultiple form widgets
  • 045d236 Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6

📊 Changes

30 files changed (+220 additions, -483 deletions)

View changed files

📝 docs/plugins/development/forms.md (+3 -0)
📝 netbox/circuits/forms/bulk_edit.py (+2 -3)
📝 netbox/circuits/forms/filtersets.py (+2 -2)
📝 netbox/circuits/forms/model_forms.py (+0 -3)
📝 netbox/core/forms/bulk_edit.py (+2 -5)
📝 netbox/core/forms/filtersets.py (+4 -6)
📝 netbox/core/forms/model_forms.py (+2 -2)
📝 netbox/dcim/forms/bulk_edit.py (+32 -68)
📝 netbox/dcim/forms/filtersets.py (+66 -69)
📝 netbox/dcim/forms/model_forms.py (+4 -101)
📝 netbox/extras/forms/bulk_edit.py (+3 -5)
📝 netbox/extras/forms/filtersets.py (+19 -22)
📝 netbox/extras/forms/model_forms.py (+2 -10)
📝 netbox/extras/models/customfields.py (+4 -8)
📝 netbox/ipam/forms/bulk_edit.py (+10 -19)
📝 netbox/ipam/forms/filtersets.py (+20 -27)
📝 netbox/ipam/forms/model_forms.py (+1 -37)
📝 netbox/netbox/forms/__init__.py (+3 -5)
📝 netbox/tenancy/forms/filtersets.py (+3 -2)
📝 netbox/tenancy/forms/model_forms.py (+1 -2)

...and 10 more files

📄 Description

Closes: #11765

Removes the StaticSelect and StaticSelectMultiple form widgets. The application of the necessary CSS class is now handled automatically by BootstrapMixin.


🔄 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/11767 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/16/2023 **Status:** ✅ Merged **Merged:** 2/16/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `11765-remove-staticselect` --- ### 📝 Commits (2) - [`a9a5712`](https://github.com/netbox-community/netbox/commit/a9a5712e7fb8f19f6fac877634c9ecc697e0fe2a) Remove StaticSelect, StaticSelectMultiple form widgets - [`045d236`](https://github.com/netbox-community/netbox/commit/045d2364795638ba6c9ceac0cbde261b2af55cad) Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6 ### 📊 Changes **30 files changed** (+220 additions, -483 deletions) <details> <summary>View changed files</summary> 📝 `docs/plugins/development/forms.md` (+3 -0) 📝 `netbox/circuits/forms/bulk_edit.py` (+2 -3) 📝 `netbox/circuits/forms/filtersets.py` (+2 -2) 📝 `netbox/circuits/forms/model_forms.py` (+0 -3) 📝 `netbox/core/forms/bulk_edit.py` (+2 -5) 📝 `netbox/core/forms/filtersets.py` (+4 -6) 📝 `netbox/core/forms/model_forms.py` (+2 -2) 📝 `netbox/dcim/forms/bulk_edit.py` (+32 -68) 📝 `netbox/dcim/forms/filtersets.py` (+66 -69) 📝 `netbox/dcim/forms/model_forms.py` (+4 -101) 📝 `netbox/extras/forms/bulk_edit.py` (+3 -5) 📝 `netbox/extras/forms/filtersets.py` (+19 -22) 📝 `netbox/extras/forms/model_forms.py` (+2 -10) 📝 `netbox/extras/models/customfields.py` (+4 -8) 📝 `netbox/ipam/forms/bulk_edit.py` (+10 -19) 📝 `netbox/ipam/forms/filtersets.py` (+20 -27) 📝 `netbox/ipam/forms/model_forms.py` (+1 -37) 📝 `netbox/netbox/forms/__init__.py` (+3 -5) 📝 `netbox/tenancy/forms/filtersets.py` (+3 -2) 📝 `netbox/tenancy/forms/model_forms.py` (+1 -2) _...and 10 more files_ </details> ### 📄 Description ### Closes: #11765 Removes the `StaticSelect` and `StaticSelectMultiple` form widgets. The application of the necessary CSS class is now handled automatically by `BootstrapMixin`. --- <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-29 23:21:05 +01:00
adam closed this issue 2025-12-29 23:21:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13837