Skip to content

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

@skrustev

Description

@skrustev

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions