igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

[simple-combo] item is cleared and deselected on blur when having partial match

Open RivaIvanova opened this issue 3 years ago • 0 comments

Description

If we have items with partial matches, for example, 'Apple' and 'Apples' the input field is cleared, and the item is deselected when opening the combo and clicking outside of it. This happens if the item with shorter text ('Apple') is listed after the item that contains 'Apple' in it, i.e. 'Apples'.

  • igniteui-angular version: 14.0.x
  • browser: all

Steps to reproduce

  1. Open this demo.
  2. Open the second combo and select 'Apple'.
  3. Open the combo again and click outside of it so it loses focus.

Result

The input field is cleared and the item is deselected.

Expected result

The input field should not be cleared and the item should remain selected.

Attachments

This could be observed in the below attachment: simple-combo-issue

RivaIvanova avatar Jul 18 '22 10:07 RivaIvanova