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

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

Open skrustev opened this issue 4 years ago • 0 comments

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

skrustev avatar Sep 29 '20 11:09 skrustev