Skip to content

ListBox multiple choices ! #2402

Answered by RoxDevvv
RoxDevvv asked this question in Q&A
Discussion options

You must be logged in to vote

i found solution sorry for rush

i just have to add 'multiple' props

				<ListBox class="border border-surface-500 p-4 rounded-container-token" multiple>
					<ListBoxItem bind:group={formData.roles} name="Admin" value="Admin">Admin</ListBoxItem>
					<ListBoxItem bind:group={formData.roles} name="Manager" value="Manager"
						>Manager</ListBoxItem
					>
					<ListBoxItem bind:group={formData.roles} name="strawberry" value="Viewer"
						>Viewer</ListBoxItem
					>
				</ListBox>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RoxDevvv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant