-
Notifications
You must be signed in to change notification settings - Fork 76
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
Input, checkbox, select: Make focus and blur events public #4611
Comments
I don't think we want to expose these internal events but we might want to experiment with
|
Yeah I guess the main request would be having a way to listen for focus/blur events for |
Just wanted to see if there could be any more movement/discussion on this issue. The focus/blur events are pretty important for form validation and matching native input behavior. |
Thanks for the ping. According to our roadmap, we'll be looking at consistent focus/blur behavior across components in the upcoming sprints (starting in August). We have an issue to look into |
The form components emit |
Installed and assigned for verification. |
Verified with the codepen provided by Ben above in |
Description
The internalBlur and internalFocus events are emitted from the input, checkbox, select, etc components. They are technically usable right now, but marked as internal so they are not documented. It would be useful to have those events publicly available for cases like form validation (when validation runs on blur).
Acceptance Criteria
The events are no longer marked as internal and don't have
Internal
in their names.Relevant Info
No response
Which Component
calcite-checkbox, calcite-input, calcite-select
Example Use Case
In some of the developer website forms, we listen for blur events on each form input in order to trigger validation.
The text was updated successfully, but these errors were encountered: