ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

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

Open nikoletavnv opened this issue 9 months ago • 0 comments

Bug Description

When suggestions are enabled for ui5-input and the user selects a suggestion, a change event is fired. If the user modifies the text but before leaving the input decides to select the same suggestion again - change event is fired again, even when the input text is the same.

Affected Component

ui5-input

Expected Behaviour

Change event is fired only when the value modifications have finished and the new value differs from the previous one.

Isolated Example

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

https://github.com/SAP/ui5-webcomponents/assets/31706628/90055af6-3b62-4095-9479-1fd61419ef39

Priority

None

UI5 Web Components Version

1.24

Browser

Chrome

Operating System

Windows

Additional Context

No response

Organization

No response

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

nikoletavnv avatar May 08 '24 08:05 nikoletavnv