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

[Dropdown] Search term disappear when selecting item with Enter #3150

Open
ghabriel25 opened this issue Jan 7, 2025 · 0 comments
Open

[Dropdown] Search term disappear when selecting item with Enter #3150

ghabriel25 opened this issue Jan 7, 2025 · 0 comments
Labels
state/awaiting-investigation Anything which needs more investigation state/awaiting-triage Any issues or pull requests which haven't yet been triaged type/bug Any issue which is a bug or PR which fixes a bug

Comments

@ghabriel25
Copy link

ghabriel25 commented Jan 7, 2025

Bug Report

Dropdown's search term disappear when selecting item with Enter. But with click, the search term still there

Steps to reproduce

  1. Create dropdown with class .ui, .multiple, .search, .selection, .dropdown
  2. Add options keepSearchTerm: true, allowAdditions: true
  3. Try search item and choose with enter (results still shown, search term disappear)
  4. Try search item and choose with mouse click (results still shown, search term still there)

Expected result

Search term still there when choosing item with enter

Actual result

Search term disappear after choosing item with enter. It seems the problem is allowAdditions: true, when i set it to false problem solved but I need to set it to true

Testcase

https://jsfiddle.net/1pavf7ym/

Screenshot (if possible)

Version

2.9.3

@ghabriel25 ghabriel25 added state/awaiting-investigation Anything which needs more investigation state/awaiting-triage Any issues or pull requests which haven't yet been triaged type/bug Any issue which is a bug or PR which fixes a bug labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state/awaiting-investigation Anything which needs more investigation state/awaiting-triage Any issues or pull requests which haven't yet been triaged type/bug Any issue which is a bug or PR which fixes a bug
Projects
None yet
Development

No branches or pull requests

1 participant