Optional
FormProps applied to the FormHelperText
element.
Optional
InputProps applied to the InputLabel
element.
Pointer events like onClick
are enabled if and only if shrink
is true
.
Optional
InputProps applied to the Input element.
It will be a FilledInput
,
OutlinedInput
or Input
component depending on the variant
prop value.
Optional
SelectProps applied to the Select
element.
Optional
aboutOptional
accessOptional
aria-Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
Optional
aria-Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
Optional
aria-Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
Optional
aria-Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
Optional
aria-Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
Optional
aria-Defines the total number of columns in a table, grid, or treegrid.
aria-colindex.
Optional
aria-Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
Optional
aria-Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
Optional
aria-Identifies the element (or elements) whose contents or presence are controlled by the current element.
aria-owns.
Optional
aria-Indicates the element that represents the current item within a container or set of related elements.
Optional
aria-Identifies the element (or elements) that describes the object.
aria-labelledby
Optional
aria-Identifies the element that provides a detailed, extended description for the object.
aria-describedby.
Optional
aria-Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
Optional
aria-Indicates what functions can be performed when a dragged object is released on the drop target.
in ARIA 1.1
Optional
aria-Identifies the element that provides an error message for the object.
Optional
aria-Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Optional
aria-Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
Optional
aria-Indicates an element's "grabbed" state in a drag-and-drop operation.
in ARIA 1.1
Optional
aria-Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Optional
aria-Indicates whether the element is exposed to an accessibility API.
aria-disabled.
Optional
aria-Indicates the entered value does not conform to the format expected by the application.
aria-errormessage.
Optional
aria-Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Optional
aria-Defines a string value that labels the current element.
aria-labelledby.
Optional
aria-Identifies the element (or elements) that labels the current element.
aria-describedby.
Optional
aria-Defines the hierarchical level of an element within a structure.
Optional
aria-Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
Optional
aria-Indicates whether an element is modal when displayed.
Optional
aria-Indicates whether a text box accepts multiple lines of input or only a single line.
Optional
aria-Indicates that the user may select more than one item from the current selectable descendants.
Optional
aria-Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
Optional
aria-Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
aria-controls.
Optional
aria-Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
Optional
aria-Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
aria-setsize.
Optional
aria-Indicates the current "pressed" state of toggle buttons.
Optional
aria-Indicates that the element is not editable, but is otherwise operable.
aria-disabled.
Optional
aria-Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
aria-atomic.
Optional
aria-Indicates that user input is required on the element before a form may be submitted.
Optional
aria-Defines a human-readable, author-localized description for the role of an element.
Optional
aria-Defines the total number of rows in a table, grid, or treegrid.
aria-rowindex.
Optional
aria-Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
Optional
aria-Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
Optional
aria-Indicates the current "selected" state of various widgets.
Optional
aria-Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
aria-posinset.
Optional
aria-Indicates if items in a table or grid are sorted in ascending or descending order.
Optional
aria-Defines the maximum allowed value for a range widget.
Optional
aria-Defines the minimum allowed value for a range widget.
Optional
aria-Defines the current value for a range widget.
aria-valuetext.
Optional
aria-Defines the human readable text alternative of aria-valuenow for a range widget.
Optional
autoOptional
autoThis 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.
Optional
autoOptional
autoIf true
, the input
element is focused during the first mount.
false
Optional
autoOptional
childrenOptional
classOptional
classesOverride or extend the styles applied to the component.
Optional
colorThe color of the component. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
'primary'
列定义
Optional
contentOptional
contextOptional
dangerouslyOptional
dataOptional
dataOptional
datatypeOptional
defaultOptional
defaultThe default value. Use when the component is not controlled.
Optional
dirOptional
disabledIf true
, the component is disabled.
false
Optional
display展示键
"name"
Optional
draggableOptional
errorIf true
, the label is displayed in an error state.
false
Optional
focusedIf true
, the component is displayed in focused state.
Optional
fullIf true
, the input will take up the full width of its container.
false
Optional
helperThe helper text content.
Optional
hiddenOptional
hiddenIf true
, the label is hidden.
This is used to increase density for a FilledInput
.
Be sure to add aria-label
to the input
element.
false
Optional
idThe id of the input
element.
Use this prop to make label
and helperText
accessible for screen readers.
Optional
inlistOptional
inputHints at the type of data that might be entered by the user while editing the element or its contents
https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
Optional
inputAttributes applied to the input
element.
Optional
inputPass a ref to the input
element.
Optional
input输入框value
Optional
isSpecify that a standard HTML element should behave like a defined custom built-in element
https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
Optional
itemIDOptional
itemOptional
itemOptional
itemOptional
itemOptional
keyOptional
keykey键
"id"
Optional
labelThe label content.
Optional
langOptional
marginIf dense
or normal
, will adjust vertical spacing of this and contained components.
'none'
Optional
maxMaximum number of rows to display when multiline option is set to true.
Optional
minMinimum number of rows to display when multiline option is set to true.
Optional
multilineIf true
, a textarea
element is rendered instead of an input.
false
Optional
nameName attribute of the input
element.
Optional
nonceOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
on输入框valueChange
Optional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
on点击事件
Optional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
on更新value值
Optional
onOptional
onOptional
onOptional
onOptional
onOptional
onOptional
placeholderThe short hint displayed in the input
before the user enters a value.
Optional
placement下拉框位置
"bottom"
Optional
prefixOptional
propertyOptional
radioOptional
refOptional
requiredIf true
, the label is displayed as required and the input
element is required.
false
Optional
resourceOptional
resultsOptional
roleOptional
rowsNumber of rows to display when multiline option is set to true.
Optional
securityOptional
selectRender 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.
false
Optional
sizeThe size of the component.
Optional
slotOptional
spellOptional
styleOptional
suppressOptional
suppressOptional
sxThe system prop that allows defining system overrides as well as additional CSS styles.
Optional
tabOptional
titleOptional
translateOptional
typeType of the input
element. It should be a valid HTML5 input type.
Optional
typeofOptional
unselectable下拉选框单项 非id
Optional
vocabOptional
zzIndex
999
Generated using TypeDoc
MuiFormSearch 入参