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

[USelectMenu] Label of selected item disappears with async search #2464

Closed
peterhijma opened this issue Oct 25, 2024 · 0 comments · Fixed by #2566
Closed

[USelectMenu] Label of selected item disappears with async search #2464

peterhijma opened this issue Oct 25, 2024 · 0 comments · Fixed by #2566
Labels
bug Something isn't working v3 #1289

Comments

@peterhijma
Copy link

peterhijma commented Oct 25, 2024

Description

This problem (?) is happening in the latest v2 version as well as the latest v3 (alpha) version. I will explain by giving a link to the v3 docs of the async search (without internal search):

https://ui3.nuxt.dev/components/select-menu#without-internal-search

Then take the next steps:

  1. Select any item
  2. Search for something that will not include the selected item
  3. The label of the input will not show the currently selected item anymore
  4. If you the make sure the selected item is in the list of returned items, it will appear again

Pictures

Selected a value:
Image

Search for random string. Note that the avatar is correct:
Image

I actually got exactly the same problem in v2 when using :searchable with an async function.

@peterhijma peterhijma added bug Something isn't working triage labels Oct 25, 2024
@peterhijma peterhijma changed the title [USelectMenu] [USelectMenu] Label of selected item disappears with async search Oct 25, 2024
@benjamincanac benjamincanac added v3 #1289 and removed triage labels Nov 5, 2024 — with Volta.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v3 #1289
Projects
None yet
2 participants