mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-24 13:16:36 +00:00
#10054: Trigger change event after updating form field value
This commit is contained in:
parent
9ce29f9edc
commit
64f6eea579
2
netbox/project-static/dist/netbox.js
vendored
2
netbox/project-static/dist/netbox.js
vendored
File diff suppressed because one or more lines are too long
2
netbox/project-static/dist/netbox.js.map
vendored
2
netbox/project-static/dist/netbox.js.map
vendored
File diff suppressed because one or more lines are too long
@ -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…
x
Reference in New Issue
Block a user