I have this warning generated:
Warning: Material-UI: you have provided a `inputComponent` to the input component
that does not correctly handle the `inputRef` property.
Make sure the `inputRef` property is called with a HTMLInputElement.
which also come from the docs... see https://material-ui.com/demos/text-fields/ on codesanbox
No warning
Which specific demo is producing that error message?
@stunaz This warning was introduced in #13934 to fix one of the TextField examples.
@eps1lon the one form here https://material-ui.com/demos/text-fields/#formatted-inputs
oh I cant reproduce it any more, looks like I used an outtdated version of mui
```
ref={ref => {
inputRef(ref ? ref.inputElement : null);
}}
````
Just try it:
ref={(ref) => inputRef(ReactDOM.findDOMNode(ref))}
Most helpful comment
@eps1lon the one form here https://material-ui.com/demos/text-fields/#formatted-inputs
oh I cant reproduce it any more, looks like I used an outtdated version of mui
```
ref={ref => {
inputRef(ref ? ref.inputElement : null);
}}
````