-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Automatically clear dependent selection fields when modifying a parent selection #14237
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide. |
Now that #14917 is wrapping up, this is something we should revisit in v4.0. |
* Experimenting * Remove testing resources * Replace ApiSelect with TomSelect * Add color support * Add clear button * Clear cached options when searching dynamic selects * Add support for static parameters * Refactor TomSelect implementation * Add dynamic parameter support * Limit number of options to 100 * Remove redundant api_url definitions for user model * Add support for disabled indicator * Remove obsolete value-field attr on dynamic select widgets * Remove obsolete fetch_trigger kwarg from dynamic model choice widgets * Remove obsolete empty_label kwarg from dynamic model choice widgets * Add support for API path variables * Add support for setting a 'null' option * Annotate depth for recursive hierarchies * Misc cleanup * Remove obsolete APISelect code * Remove slim-select & just-debounce-it * Clean up type validation * Closes #14237: Clear child selections on change to parent selection * Use an MD icon for the clear button * Use an MD icon for the clear button * Explain why noUnusedParameters is disabled
NetBox version
v3.6.4
Feature type
Change to existing functionality
Proposed functionality
When selecting a different option of a selection field, any dependent selection fields should be reset. For example, when editing a device which currently assigned to a site and location, changing the value of the site field in the form should clear the value of the location field.
Use case
This will avoid user confusion by making it clear that the previously populated selection in the dependent field is no longer valid and a new selection must be made (where applicable).
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: