maxlength in material ui textfield code example
Example: react material ui input max length
<Input
inputProps={{ maxLength: 10 }} // sets the maximum length to 10
></Input>
<Input
inputProps={{ maxLength: 10 }} // sets the maximum length to 10
></Input>