You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<TextField
className={classes.textField}
placeholder="Type the number of worker"
id="standard-worker"
label="worker"
onChange={changeHandler('worker')}
value={value.worker}
margin="normal"
variant="outlined"
InputProps={{
min: "0",
max: "10",
maxLength: "10",
guide: false,
}}
type= "Number"
/>
I want to not let the user to be able to type in a value that is greater 10 or less than zero by setting the min and max in InputProps. But its not working and I don't quite understand why.
Is there anything im doing wrong?
Thank you
The text was updated successfully, but these errors were encountered:
We use the issue tracker exclusively for bug reports and feature requests, however,
this issue appears to be a support request or question. Please ask on StackOverflow where the
community will do their best to help. There is a "material-ui" tag that you can use to tag your
question.
If you would like to link from here to your question on SO, it will help others find it.
If your issues is confirmed as a bug, you are welcome to reopen the issue using the issue template.
Hi,
I have a textfield defined as follow.
I want to not let the user to be able to type in a value that is greater 10 or less than zero by setting the min and max in InputProps. But its not working and I don't quite understand why.
Is there anything im doing wrong?
Thank you
The text was updated successfully, but these errors were encountered: