-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
discussionGathering feedback on open questionsGathering feedback on open questionsenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededuxUser experienceUser experience
Description
This is a perfect little component. In some cases where there are many fields it would be nice if a single Multiselect could contain several options, perhaps like this:
<script>
import MultiSelect from 'svelte-multiselect'
const genreTags = [`Rock`, `Electronic`, `Opera`]
const keyTags = [`C`, `D`, `E`, `F`, `G`, `A`, `B`]
const scaleTags = [`Major`, `Minor`]
let selectedTags = []
</script>
<MultiSelect
bind:selectedTags
options={[genreTags, keyTags, scaleTags]}
maxSelect={[null, 1, 1]}
required={[true, true, false]}
placeholder="Select Tags"
/>I need this in my app - are you open to an PR (if this isn't already supported)?
janosh and brodysmith1
Metadata
Metadata
Assignees
Labels
discussionGathering feedback on open questionsGathering feedback on open questionsenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededuxUser experienceUser experience