Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the StaticSelect and StaticSelectMultiple form widgets #11765

Closed
jeremystretch opened this issue Feb 16, 2023 · 0 comments
Closed

Remove the StaticSelect and StaticSelectMultiple form widgets #11765

jeremystretch opened this issue Feb 16, 2023 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user
Milestone

Comments

@jeremystretch
Copy link
Member

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.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user labels Feb 16, 2023
@jeremystretch jeremystretch added this to the v3.5 milestone Feb 16, 2023
@jeremystretch jeremystretch self-assigned this Feb 16, 2023
jeremystretch added a commit that referenced this issue Feb 16, 2023
* Remove StaticSelect, StaticSelectMultiple form widgets

* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
jeremystretch added a commit that referenced this issue Feb 20, 2023
* Remove StaticSelect, StaticSelectMultiple form widgets

* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
jeremystretch added a commit that referenced this issue Feb 20, 2023
* Remove StaticSelect, StaticSelectMultiple form widgets

* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: housekeeping Changes to the application which do not directly impact the end user
Projects
None yet
Development

No branches or pull requests

1 participant