mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-18 21:55:34 +00:00
Merge branch 'main' into 76-dmx1-disconnect-spam
This commit is contained in:
commit
322b34beb6
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ export function writeDataToInput(data) {
|
|||
} else {
|
||||
element.value = value;
|
||||
}
|
||||
|
||||
if (element.type === "range") {
|
||||
// update text next to the slider by sending an event
|
||||
element.dispatchEvent(new Event("input", { bubbles: true }));
|
||||
}
|
||||
}
|
||||
// send "change" event
|
||||
form.dispatchEvent(new Event("change", { bubbles: true }));
|
||||
|
|
Loading…
Add table
Reference in a new issue