mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
#10054: Trigger change event after updating form field value
This commit is contained in:
parent
9ce29f9edc
commit
64f6eea579
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.
@ -21,6 +21,8 @@ function handleSelection(link: HTMLAnchorElement): void {
|
|||||||
target.slim.setData([
|
target.slim.setData([
|
||||||
{text: label, value: value}
|
{text: label, value: value}
|
||||||
]);
|
]);
|
||||||
|
const change = new Event('change');
|
||||||
|
target.dispatchEvent(change);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user