Other InputProps are not applied to InputProps.inputComponent #12365
Labels
component: text field
This is the name of the generic UI component, not the React module!
support: question
Community support but can be turned into an improvement
Expected Behavior
The
testProp
should be passed along with other input properties when instantiatingNumberFormatCustom
:<NumberFormatCustom testProp="yo" ... />
.Current Behavior
The
testProp
is not passed.Steps to Reproduce
Code to reproduce the issue: https://codesandbox.io/s/5z8xqoozzn
Context
There seems to be some discussion about
TextField
having too complex an API and targetting only 80% of the use cases, e.g. #9326. IMHO, the behavior looks like a bug (or I'm doing something wrong, because after reading the code theInputProps
seem to be passed correctly.Your Environment
The text was updated successfully, but these errors were encountered: