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

fix(ui5-input): fire change event properly when suggestions #9429

Merged
merged 5 commits into from
Jul 19, 2024

Conversation

nikoletavnv
Copy link
Member

Do not fire change event when the same suggestion item is reselected.

Fixes #8912

Do not fire change event when the same suggestion item is reselected.

Fixes #8912
@ndeshev
Copy link
Contributor

ndeshev commented Jul 16, 2024

In the 'Input in Cozy' sample:

If you select 'China' then focus out the Input and then type 'c', go with the arrow down to 'China' and select it again - change is being fired although there is no difference between the current value and the one when the input was focused in.

@nikoletavnv nikoletavnv merged commit a77cd4b into main Jul 19, 2024
10 checks passed
@nnaydenow nnaydenow deleted the input-change-fix branch August 2, 2024 06:54
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

Successfully merging this pull request may close these issues.

[ui5-input]: Change event is fired each time a suggestion is selected even if we re-select the current item
2 participants