Lib: Dispatch CustomEvent instead of Event for DropdownChange

This commit is contained in:
2024-12-16 02:29:06 +01:00
parent 72154656fb
commit c1f9c6aa12

View File

@ -76,7 +76,7 @@
// Just list this so SvelteKit picks it up as dependency
input_variable;
if (input) input.dispatchEvent(new Event("DropdownChange"));
if (input) input.dispatchEvent(new CustomEvent("DropdownChange"));
});
</script>