This commit is contained in:
Pieter Vander Vennet 2023-12-02 01:46:50 +01:00
parent 723a13b05f
commit c7089c27a0
5 changed files with 16 additions and 7 deletions

View file

@ -24,8 +24,9 @@
selectAppropriateValue()
}
}
export let cls : string = undefined
</script>
<select bind:this={htmlElement} on:change={(e) => {value.setData(e.srcElement.value)}}>
<select class={cls} bind:this={htmlElement} on:change={(e) => {value.setData(e.srcElement.value)}}>
<slot />
</select>