InputBaseProps is missing onInvalid callback so wrong type is used #34753
Labels
bug 🐛
Something doesn't work
component: text field
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
typescript
Duplicates
Latest version
Steps to reproduce 🕹
Code is working but doesn't path strict tsc compilation :
reproduction case
Current behavior 😯
Error
Property 'setCustomValidity' does not exist on type 'EventTarget'.ts(2339)
Expected behavior 🤔
No error
Context 🔦
Use invalid event handler without typescript error
Your environment 🌎
codesandbox.io mui official template
The text was updated successfully, but these errors were encountered: