mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-16 23:26:45 +01: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([
|
||||
{text: label, value: value}
|
||||
]);
|
||||
const change = new Event('change');
|
||||
target.dispatchEvent(change);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user