Skip to content

Improving the onClose event #298

@dioslaska

Description

@dioslaska

Currently the onClose event runs before the new value is set. There are situations where the user would like to work with the selected value, regardless if Set or Cancel was set. This cannot be done, because in case of a new selection the value is not yet assigned at the time of the onClose event.

Possible solutions:

  1. Rename the current onClose event to onBeforeClose. Fire a new event named onClose after the value is already set. BRAKES BACKWARD COMPATIBILTY
  2. Create a new event, e.g. onAfterClose, which runs after the value is set. Naming is not consistent (e.g. with onBeforeShow and onShow).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions