#10054: Trigger change event after updating form field value

This commit is contained in:
jeremystretch 2023-03-20 16:06:06 -04:00
parent 9ce29f9edc
commit 64f6eea579
3 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,8 @@ function handleSelection(link: HTMLAnchorElement): void {
target.slim.setData([
{text: label, value: value}
]);
const change = new Event('change');
target.dispatchEvent(change);
}