-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiselect adding the SelectOptionType object and not Value property to the bound:value array #864
Comments
@vasucp1207 Can you reply to this? |
Thanks for clarifying fixes this in #870 |
Hi, the fix did the job. Here is a StackBlitz: https://stackblitz.com/edit/sveltejs-kit-template-default-l9zfbe?file=src%2Froutes%2F%2Bpage.svelte |
Fixed in #892 |
Describe the bug
Maybe this is expected behaviour?
I give a list of items to the Multiselect component.
The items in the list are of the shape { name: , value: }
I bind an array to hold the selected items.
What I expected to find in the selectedItems array was the value property from the items contained in the item list and not the complete object itself.
Obviously I can work around this myself but I wanted to know if this is what you expected?
Reproduction
Not sure if this is a bug or not so I have not reproduced this
Flowbite version and System Info
The text was updated successfully, but these errors were encountered: