Props
Attributes
- Graph
-
- Supertypes
-
trait PropTypesclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
The default value. Use when the component is not controlled.
The default value. Use when the component is not controlled.
Attributes
If true
, the component is disabled. The prop defaults to the value (false
) inherited from the parent FormControl component.
If true
, the component is disabled. The prop defaults to the value (false
) inherited from the parent FormControl component.
Attributes
Trailing adornment for this input.
Trailing adornment for this input.
Attributes
If true
, the input
will indicate an error by setting the aria-invalid
attribute on the input and the Mui-error
class on the root element.
If true
, the input
will indicate an error by setting the aria-invalid
attribute on the input and the Mui-error
class on the root element.
Attributes
The id of the input
element.
The id of the input
element.
Attributes
The maximum value.
The maximum value.
Attributes
The minimum value.
The minimum value.
Attributes
Callback fired after the value is clamped and changes - when the input
is blurred or when the stepper buttons are triggered. Called with undefined
when the value is unset.
Callback fired after the value is clamped and changes - when the input
is blurred or when the stepper buttons are triggered. Called with undefined
when the value is unset.
Value parameters
- {React.FocusEvent<HTMLInputElement>|React.PointerEvent|React.KeyboardEvent}
-
event The event source of the callback
- {number|undefined}
-
value The new value of the component
Attributes
Callback fired when the input
value changes after each keypress, before clamping is applied. Note that event.target.value
may contain values that fall outside of min
and max
or are otherwise "invalid".
Callback fired when the input
value changes after each keypress, before clamping is applied. Note that event.target.value
may contain values that fall outside of min
and max
or are otherwise "invalid".
Value parameters
- {React.ChangeEvent<HTMLInputElement>}
-
event The event source of the callback.
Attributes
If true
, the input
element becomes read-only. The stepper buttons remain active, with the addition that they are now keyboard focusable.
If true
, the input
element becomes read-only. The stepper buttons remain active, with the addition that they are now keyboard focusable.
Attributes
If true
, the input
element is required. The prop defaults to the value (false
) inherited from the parent FormControl component.
If true
, the input
element is required. The prop defaults to the value (false
) inherited from the parent FormControl component.
Attributes
Multiplier applied to step
if the shift key is held while incrementing or decrementing the value. Defaults to 10
.
Multiplier applied to step
if the shift key is held while incrementing or decrementing the value. Defaults to 10
.
Attributes
The props used for each slot inside the NumberInput.
The props used for each slot inside the NumberInput.
Attributes
The components used for each slot inside the InputBase. Either a string to use a HTML element or a component.
The components used for each slot inside the InputBase. Either a string to use a HTML element or a component.
Attributes
Leading adornment for this input.
Leading adornment for this input.
Attributes
The amount that the value changes on each increment or decrement.
The amount that the value changes on each increment or decrement.
Attributes
The current value. Use when the component is controlled.
The current value. Use when the component is controlled.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes