Skip to content

ComboPopup: cancelHandler does not clear selected items, if any. #677

Open
@brunano21

Description

@brunano21

Valid only for Combobox's selectionMode = multiple
Whenever the user opens up the dropdown and selected some items, if he hits the Cancel button, the selection made is not cleared.

Potential fix would be to clear reset the combo.list.selectedItems to an empty array ([]) and then call combo._validateMultiple(true), so the widget state gets update accordingly.

This bug has been introduced by 785de84.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions