Skip to Content
0
Oct 25, 2019 at 03:01 PM

ComboBox Textfield issue

107 Views

Hello everyone,

I am facing a problem, my item is getting selected before I press Enter or select the item with mouse. So I start to search from the keyboard and attachSelectionChange is triggered after the first letter I type. I was looking for a method to check how many letters are written, or whether what is written is completely same like the item, than the selection can be done.
screenshot-2019-10-25-at-165220.png

In the screenshot you can see the Textfield of the ComboBox. I wrote only L and Latvian got selected. (I continued La... to show the highlighting) I am quite new in sapui5, but I think there should be something to realise how many letters are highlighted, for example -tvian is highlighted.

Thanks in advance!
Lefter

Attachments