mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 13:08:16 -06:00
Closes #14237: Clear child selections on change to parent selection
This commit is contained in:
parent
018815cf9d
commit
674f794c69
BIN
netbox/project-static/dist/netbox.js
vendored
BIN
netbox/project-static/dist/netbox.js
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox.js.map
vendored
BIN
netbox/project-static/dist/netbox.js.map
vendored
Binary file not shown.
@ -295,6 +295,9 @@ export class DynamicTomSelect extends TomSelect {
|
|||||||
this.updateQueryParams(target.name);
|
this.updateQueryParams(target.name);
|
||||||
this.updatePathValues(target.name);
|
this.updatePathValues(target.name);
|
||||||
|
|
||||||
|
// Clear any previous selection(s) as the parent filter has changed
|
||||||
|
this.clear();
|
||||||
|
|
||||||
// Load new data.
|
// Load new data.
|
||||||
this.load(this.lastValue);
|
this.load(this.lastValue);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user