Props
Attributes
- Graph
- Supertypes
- trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
The color of the component. It supports those theme colors that make sense for this component.
The color of the component. It supports those theme colors that make sense for this component.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- color.type
If dense
, will adjust vertical spacing. This is normally obtained via context from
FormControl.
If dense
, will adjust vertical spacing. This is normally obtained via context from
FormControl.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- margin.type
Value members
Concrete methods
Type of the input
element. It should be a valid HTML5 input type.
This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it following the specification.
This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it following the specification.
Attributes
If true
, the input
element will be focused during the first mount.
If true
, the input
element will be focused during the first mount.
Attributes
Override or extend the styles applied to the component. See CSS API below for more details.
Override or extend the styles applied to the component. See CSS API below for more details.
Attributes
The default input
element value. Use when the component is not controlled.
The default input
element value. Use when the component is not controlled.
Attributes
If true
, the input
element will be disabled.
If true
, the input
element will be disabled.
Attributes
End InputAdornment
for this component.
End InputAdornment
for this component.
Attributes
If true
, the input will indicate an error. This is normally obtained via context from
FormControl.
If true
, the input will indicate an error. This is normally obtained via context from
FormControl.
Attributes
If true
, the input will take up the full width of its container.
If true
, the input will take up the full width of its container.
Attributes
The id of the input
element.
The id of the input
element.
Attributes
The component used for the input
element.
Either a string to use a HTML element or a component.
The component used for the input
element.
Either a string to use a HTML element or a component.
Attributes
Attributes applied to the input
element.
Pass a ref to the input
element.
Pass a ref to the input
element.
Attributes
The label of the input. It is only used for layout. The actual labelling
is handled by InputLabel
. If specified labelWidth
is ignored.
The label of the input. It is only used for layout. The actual labelling
is handled by InputLabel
. If specified labelWidth
is ignored.
Attributes
The width of the label. Is ignored if label
is provided. Prefer label
if the input label appears with a strike through.
The width of the label. Is ignored if label
is provided. Prefer label
if the input label appears with a strike through.
Attributes
Maximum number of rows to display when multiline option is set to true.
Maximum number of rows to display when multiline option is set to true.
Attributes
If true
, a textarea element will be rendered.
If true
, a textarea element will be rendered.
Attributes
Name attribute of the input
element.
Name attribute of the input
element.
Attributes
If true
, the outline is notched to accommodate the label.
If true
, the outline is notched to accommodate the label.
Attributes
Callback fired when the value is changed.
Callback fired when the value is changed.
Attributes
- {object}
event The event source of the callback. You can pull out the new value by accessing
event.target.value
(string).
The short hint displayed in the input before the user enters a value.
The short hint displayed in the input before the user enters a value.
Attributes
It prevents the user from changing the value of the field (not from interacting with the field).
It prevents the user from changing the value of the field (not from interacting with the field).
Attributes
If true
, the input
element will be required.
If true
, the input
element will be required.
Attributes
Number of rows to display when multiline option is set to true.
Number of rows to display when multiline option is set to true.
Attributes
Start InputAdornment
for this component.
Start InputAdornment
for this component.
Attributes
The value of the input
element, required for a controlled component.
The value of the input
element, required for a controlled component.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes