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

Add Clear Button to USelectMenu #1057

Open
peterkimzz opened this issue Dec 4, 2023 · 8 comments · May be fixed by #2564
Open

Add Clear Button to USelectMenu #1057

peterkimzz opened this issue Dec 4, 2023 · 8 comments · May be fixed by #2564
Assignees
Labels
enhancement New feature or request

Comments

@peterkimzz
Copy link

peterkimzz commented Dec 4, 2023

Description

Hi Nuxt UI Team!

When I use USelectMenu component with multiple property, it's hard to clear all items or even each items.

So how about add clearItem options when multiple property is enabled?

I think simply replace the chevron-down icon with x icon when multiple items are selected.

Additional context

No response

@peterkimzz peterkimzz added the enhancement New feature or request label Dec 4, 2023
@peterkimzz peterkimzz changed the title Add Clear Button to Reset Items on USelectMenu Add Clear Button to USelectMenu Dec 4, 2023
@aloky
Copy link

aloky commented Dec 6, 2023

also maybe #898 (comment)

Copy link
Member

Have you tried using the #trailing slot like the Select? https://ui.nuxt.com/forms/select#trailing

@aloky
Copy link

aloky commented Jan 24, 2024

@benjamincanac Yes, but it would be user frendly(or mobile device), if have the delete/clear item in list selected

@aloky
Copy link

aloky commented Jan 24, 2024

Screenshot 2024-01-24 at 17 24 28

@hamonCordova
Copy link

When this will be released???

@rdjanuar rdjanuar self-assigned this Nov 8, 2024
@rdjanuar rdjanuar linked a pull request Nov 8, 2024 that will close this issue
8 tasks
Copy link

image.png

I use a trigger in filters to reset value and don’t need to open it to reset the value

@aloky
Copy link

aloky commented Dec 13, 2024

@JohnnyMaynne Genius, but need button in selectMenu example:

Image

@aloky
Copy link

aloky commented Dec 13, 2024

adding a slot will solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
6 participants