N00nDay / stwui

Opinionated yet customizable Svelte-TailwindCSS component library
stwui.vercel.app
MIT License
447 stars 21 forks source link

I am facing some weird issues on select component. #155

Closed hardcommitoneself closed 1 year ago

hardcommitoneself commented 1 year ago

The following is what I have used the select component on my project.

<Select name="proof" placeholder="Basic" multiple bind:value={currentProofs}>
    <Select.Options slot="options">
        {#each proofOptions as option}
            <Select.Options.Option {option} selected="false" />
        {/each}
    </Select.Options>
</Select>

Once I have changed the currentProofs(in case that I want to edit one item of list), the selected items were not reflected on dropdown menu. image

N00nDay commented 1 year ago

Please provide a reproduction. I am not following what your issue is with the description laid out.

N00nDay commented 1 year ago

Closing this issue as no reproduction has been provided and I cannot reproduce myself.