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

Dropdown widgets for required fields should not include a "clear" button #18955

Open
jeremystretch opened this issue Mar 19, 2025 · 0 comments · May be fixed by #18971
Open

Dropdown widgets for required fields should not include a "clear" button #18955

jeremystretch opened this issue Mar 19, 2025 · 0 comments · May be fixed by #18971
Assignees
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@jeremystretch
Copy link
Member

jeremystretch commented Mar 19, 2025

Deployment Type

NetBox Cloud

NetBox Version

v4.2.5

Python Version

3.10

Steps to Reproduce

In many forms (the site edit form, for instance), required choice fields include a "clear" button (an X within a circle) toward the righthand side of the field which clears any selected value.

Image

Expected Behavior

It should not be possible to clear the selected value of a field for which a value must be specified. The presence of the "clear" button may be confusing to the user.

The clear button is a Tom Select plugin. It can be disabled for required fields by altering the logic here.

Observed Behavior

See above.

@jeremystretch jeremystretch added severity: low Does not significantly disrupt application functionality, or a workaround is available status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: bug A confirmed report of unexpected behavior in the application labels Mar 19, 2025
@jeremystretch jeremystretch self-assigned this Mar 20, 2025
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Mar 20, 2025
@jeremystretch jeremystretch changed the title Dropdown widgets for requried fields should not include a "clear" button Dropdown widgets for required fields should not include a "clear" button Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
1 participant