mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-25 12:59:59 -06:00
#10054: Trigger change event after updating form field value
This commit is contained in:
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([
|
target.slim.setData([
|
||||||
{text: label, value: value}
|
{text: label, value: value}
|
||||||
]);
|
]);
|
||||||
|
const change = new Event('change');
|
||||||
|
target.dispatchEvent(change);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user