Merge branch 'main' into 76-dmx1-disconnect-spam

This commit is contained in:
Raffael Wolf 2025-04-15 21:48:04 +02:00 committed by GitHub
commit 322b34beb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }));