IgniteUI / igniteui-angular-wrappers

Ignite UI Angular component extensions by Infragistics
http://igniteui.github.io/igniteui-angular-wrappers
MIT License
148 stars 30 forks source link

Deselecting the last selected item from the dropdown of a Combo does not display default template value. #327

Open skrustev opened 3 years ago

skrustev commented 3 years ago

Description

If there's only one selected item when multiple selection is enabled and the user tries to deselect that item by clicking on the item inside the dropdown, instead from the 'clear' button, the value for the combo displays that single item still. The actual selection is empty, but the value displayed is incorrect.

Steps to reproduce

  1. Open the attached sample.
  2. Open the combo dropdown.
  3. Click on "item4" to deselect it.
  4. Close the dropdown by clicking outside the combo.

Result

The selected range is empty, but "item4" is still displayed in the combo: Combo_result

Expected result

The combo should display the "select..." template. Combo_expected

Attachments

sample-combo.zip