material ui textfield min max value code example
Example 1: react material ui input max length
<Input
inputProps={{ maxLength: 10 }} // sets the maximum length to 10
></Input>
Example 2: number min in material ui textfield
<Field
name="maxNodeSelectedCount"
component={TextField}
label="Max Node Selected Count"
type="number"
InputProps={{ inputProps: { min: 0, max: 10 } }}
format={formatOption}
normalize={normalizeOption}
{...propertyFieldDefaults}
/>