feat: make more node group features work
This commit is contained in:
@@ -6,6 +6,13 @@
|
||||
}
|
||||
|
||||
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">
|
||||
|
||||
Reference in New Issue
Block a user