Remove the StaticSelect and StaticSelectMultiple form widgets #7650

Closed
opened 2025-12-29 20:26:27 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Feb 16, 2023).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Remove the custom StaticSelect and StaticSelectMultiple form widget classes, replacing them with their Django-native counterparts, and adjust BootstrapMixin to set CSS classes accordingly.

Justification

We can handle the assignment of the netbox-static-select CSS class within BootstrapMixin, obviating the need for custom widgets.

Originally created by @jeremystretch on GitHub (Feb 16, 2023). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Remove the custom `StaticSelect` and `StaticSelectMultiple` form widget classes, replacing them with their Django-native counterparts, and adjust `BootstrapMixin` to set CSS classes accordingly. ### Justification We can handle the assignment of the `netbox-static-select` CSS class within `BootstrapMixin`, obviating the need for custom widgets.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:26:27 +01:00
adam closed this issue 2025-12-29 20:26:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7650