Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <svelte:options customElement="mc-select" /> <script lang="ts"> // eslint-disable-next-line import/no-mutable-exports export let defaultValue = null; // eslint-disable-next-line import/no-mutable-exports export let source; // eslint-disable-next-line import/no-mutable-exports export let multiple = false; </script> <select {multiple}> <option></option> {#each source as item} <option value="{item}" selected="{defaultValue === item}">{item}</option> {/each} </select> |