I have multiple fields on different pages all controlled from a single page and using material ui textfield. I have to set different maxLength for different fields.
I found inputProps={{maxLength: 10}} , but this allows only 1 fixed value, I need a way to set different values depending on requirement.