Props
Attributes
- Graph
-
- Supertypes
-
trait WithChildren[VdomNode]trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
The color of the component. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
The color of the component. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
Attributes
- Supertypes
-
class Prop[String]class Objecttrait Matchableclass Any
- Self type
-
color.type
If dense
or normal
, will adjust vertical spacing of this and contained components.
If dense
or normal
, will adjust vertical spacing of this and contained components.
Attributes
- Supertypes
-
class Prop[String]class Objecttrait Matchableclass Any
- Self type
-
margin.type
Value members
Concrete methods
Props applied to the FormHelperText
element.
Props applied to the InputLabel
element. Pointer events like onClick
are enabled if and only if shrink
is true
.
Props applied to the InputLabel
element. Pointer events like onClick
are enabled if and only if shrink
is true
.
Attributes
Props applied to the Input element. It will be a FilledInput
, OutlinedInput
or Input
component depending on the variant
prop value.
Props applied to the Input element. It will be a FilledInput
, OutlinedInput
or Input
component depending on the variant
prop value.
Attributes
Props applied to the Select
element.
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 is focused during the first mount.
If true
, the input
element is focused during the first mount.
Attributes
Override or extend the styles applied to the component.
Override or extend the styles applied to the component.
Attributes
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.
If true
, the component is disabled.
Attributes
If true
, the label is displayed in an error state.
If true
, the label is displayed in an error state.
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 helper text content.
The helper text content.
Attributes
The id of the input
element. Use this prop to make label
and helperText
accessible for screen readers.
The id of the input
element. Use this prop to make label
and helperText
accessible for screen readers.
Attributes
Attributes applied to the input
element.
Pass a ref to the input
element.
Pass a ref to the input
element.
Attributes
The label content.
The label content.
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
Minimum number of rows to display when multiline option is set to true.
Minimum number of rows to display when multiline option is set to true.
Attributes
If true
, a textarea
element is rendered instead of an input.
If true
, a textarea
element is rendered instead of an input.
Attributes
Name attribute of the input
element.
Name attribute of the input
element.
Attributes
Callback fired when the value is changed.
Callback fired when the value is changed.
Value parameters
- {object}
-
event The event source of the callback. You can pull out the new value by accessing
event.target.value
(string).
Attributes
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
If true
, the label is displayed as required and the input
element is required.
If true
, the label is displayed as required and the input
element is 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
Render a Select
element while passing the Input element to Select
as input
parameter. If this option is set you must pass the options of the select as children.
Render a Select
element while passing the Input element to Select
as input
parameter. If this option is set you must pass the options of the select as children.
Attributes
The system prop that allows defining system overrides as well as additional CSS styles.
The system prop that allows defining system overrides as well as additional CSS styles.
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