Closed coolbeatz71 closed 4 years ago
@coolbeatz71 hi
you have redefined defaultProps
of ValidatorComponent
where was validatorListener: () => {}
so you must add it to your defaultProps to fix the problem
also you can use react-material-ui-form-validator
library to work with material-ui forms
I am implementing form validation inside my material-ui TextField as follow:
TextInput component
My Form
Problem
I don't understand why every time I enter a value on the TextField, I am getting this error:
Would like to know the effective way of using this library alongside material-ui