You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/spread-element-select-value.../main.svelte

12 lines
216 B

<script>
import Select from "./Select.svelte";
let value = {
a: "1",
b: "1",
};
const options = ["1", "2", "3"];
export let label = "test";
</script>
<Select bind:value={value.a} {options} label={label} />