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

[multi-select-combo-box] Selecting a value does not clear the input #3644

Closed
sissbruecker opened this issue Apr 6, 2022 · 0 comments · Fixed by #3688
Closed

[multi-select-combo-box] Selecting a value does not clear the input #3644

sissbruecker opened this issue Apr 6, 2022 · 0 comments · Fixed by #3688
Assignees
Labels
papercuts "Services Papercuts" project

Comments

@sissbruecker
Copy link
Contributor

Description

When entering only a partial value of a predefined item, or a custom value, then commiting that value does not clear the input. This does not happen if you enter the full value of a predefined item.

Another side effect of this is that the partially entered value will then be reported as a custom value when bluring the component, or pressing enter again.

Expected outcome

After selecting the predefined item from the dropdown, or pressing enter, the input should be cleared.

Actual outcome

After selecting the predefined item from the dropdown, or pressing enter, the input is not cleared. After pressing enter a second time, the input is cleared.

Live demo (optional)

Bildschirmaufnahme.2022-04-06.um.15.20.16.mp4

Minimal reproducible example

See the component's dev page: https://github.com/vaadin/web-components/blob/e156bfbf0845d9e6dbfa86449e317c86f87459b0/dev/multi-select-combo-box.html

Steps to reproduce

  1. Enter Hel
  2. Select Helium from the dropdown
  3. Input still contains Hel
  4. (Blur input)
  5. (Hel is reported as custom value)

Environment

  • v23.1

Browsers affected

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
papercuts "Services Papercuts" project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants