Answers for "material ui text field min max"

0

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}
  />
Posted by: Guest on April-13-2021
1

react material ui input max length

<Input
	inputProps={{ maxLength: 10 }} // sets the maximum length to 10
></Input>
Posted by: Guest on March-15-2021

Code answers related to "material ui text field min max"

Browse Popular Code Answers by Language