-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
InputBase: change onInvalid handler to use HTMLInputElement | HTMLTextAreaElement Element type #33162
Conversation
|
Could you please open an issue and provide reproduction steps (or, even better, a minimal repro on CodeSandbox) for the problem this PR solves? |
Sure, created #34753 with repro case |
Thanks! The implementation looks good. |
Sure here it is @michaldudak ! |
Great, one more thing to do would be to merge in the latest master. It should solve the issue with the failing regression tests. |
Rebased on mui:master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good now. Thanks for your work!
…ment Element type (mui#33162)
…ment Element type (mui#33162)
Hi, I was forced to cast
onInvalid
handler toReact.FormEventHandler<HTMLDivElement>
to please tsc.This shouldn't be the case as it is applied to the inner
InputComponent
regards,
Nicolas Le Cam