Skip to content

add onBlur and onFocus events to Select component #857

@gianpaj

Description

@gianpaj

🚀 Feature Proposal

add onBlur and onFocus events to Select component (and similar)

Motivation

With these events, for example, could be used to check the number selected options.

e.g. I have the Select "dropdown menu" opened and I want to run a function when somebody clicks outside the Select and closes it.

Jan-28-2020 13-20-26

I'm trying to check the number of selected options as soon as the user clicks outside as I would like to limit for example to 2.

Per #801 (comment)

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