Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add onBlur and onFocus events to Select component #857

Closed
gianpaj opened this issue Jan 28, 2020 · 0 comments · Fixed by #868
Closed

add onBlur and onFocus events to Select component #857

gianpaj opened this issue Jan 28, 2020 · 0 comments · Fixed by #868

Comments

@gianpaj
Copy link

gianpaj commented Jan 28, 2020

🚀 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant