mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-19 10:32:56 +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 {
|
} else {
|
||||||
element.value = value;
|
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
|
// send "change" event
|
||||||
form.dispatchEvent(new Event("change", { bubbles: true }));
|
form.dispatchEvent(new Event("change", { bubbles: true }));
|
||||||
|
|
Loading…
Add table
Reference in a new issue