mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 03:56:53 -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([
|
||||
{text: label, value: value}
|
||||
]);
|
||||
const change = new Event('change');
|
||||
target.dispatchEvent(change);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user