fix: make the runtime work with groups

This commit is contained in:
2026-05-03 17:49:14 +02:00
parent a5b663f6fc
commit 7499b80789
3 changed files with 190 additions and 101 deletions
@@ -6,13 +6,6 @@
}
let { options = [], value = $bindable(0), id = '' }: Props = $props();
$effect(() => {
console.log({ options, value });
if (typeof value !== typeof options[0]) {
console.trace('WARNING: value type does not match options type');
}
});
</script>
<select {id} bind:value class="bg-layer-2 text-text">