Skip to content
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

Select component > Multiple selection bug #865

Open
MaxR522 opened this issue Apr 22, 2024 · 3 comments
Open

Select component > Multiple selection bug #865

MaxR522 opened this issue Apr 22, 2024 · 3 comments

Comments

@MaxR522
Copy link

MaxR522 commented Apr 22, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
I saw in the documentation CSS select that add the multiple attribute to the select component to allow users to select one or more options. However, the problem is that the component no longer looks like a select, and it doesn't allow multiple selections. I tested the multiple selection within my project, and the result is the same with what's documented

image

Expected behavior
I saw this multiple selection in flowbite svelte and it looks pretty cool :)

image

Desktop (please complete the following information):

@Lexachoc
Copy link
Contributor

Lexachoc commented Apr 24, 2024

@MaxR522 The Multiple options works if you press Ctrl and click on the options individually or press Shift to select several options at once.

The Select component is indeed not styled... I also found this issue about the styling request #818 (comment)

BUT...The MultiSelect components in Flowbite Svelte is buggy.

  1. The Clear all button only works after clicking twice.
  2. The selected option in the selection list is not cleared after the option has been removed from the input field.

I have found these issues that someone has also noticed:
themesberg/flowbite-svelte#1321 (comment)
and
themesberg/flowbite-svelte#1320 (comment)

@MaxR522
Copy link
Author

MaxR522 commented Apr 27, 2024

@MaxR522 The Multiple options works if you press Ctrl and click on the options individually or press Shift to select several options at once.

The Select component is indeed not styled... I also found this issue about the styling request #818 (comment)

BUT...The MultiSelect components in Flowbite Svelte is buggy.

  1. The Clear all button only works after clicking twice.
  2. The selected option in the selection list is not cleared after the option has been removed from the input field.

I have found these issues that someone has also noticed: themesberg/flowbite-svelte#1321 (comment) and themesberg/flowbite-svelte#1320 (comment)

Thanks for your answer! If there is already an issue open for the style, I will close this

@MaxR522 MaxR522 closed this as completed Apr 27, 2024
@Lexachoc
Copy link
Contributor

@MaxR522 maybe you can reopen this? Althouth the multiselect close event issue has been fixed (themesberg/flowbite-svelte#1322 (comment)), but the expected style you mentioned in this issue is not implemented yet, but in flowbite-svelte
It would be nice to have that style in the main flowbite library!

@MaxR522 MaxR522 reopened this May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants