Skip to content

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

Merged
nikoletavnv merged 5 commits intomainfrom
input-change-fix
Jul 19, 2024
Merged

fix(ui5-input): fire change event properly when suggestions#9429
nikoletavnv merged 5 commits intomainfrom
input-change-fix

Conversation

@nikoletavnv
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
@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