disabled
Description
If true, the form control will be disabled.
Type
booleanDefault
falseLeave Yamada UI a star
StarFormControl is a component used to group form elements with label, helper message, error message, etc.
Description
If true, the form control will be disabled.
Type
booleanDefault
falseDescription
The form control error message to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalDescription
Props the error message component.
Type
ErrorMessagePropsDescription
The form control helper message to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalDescription
Props the label component.
Type
HelperMessagePropsDescription
If true, the form control will be invalid.
Type
booleanDefault
falseDescription
If true, the form control will be disabled.
Deprecated
Use disabled instead.
Type
booleanDefault
falseDescription
If true, the form control will be invalid.
Deprecated
Use invalid instead.
Type
booleanDefault
falseDescription
If true, the form control will be readonly.
Deprecated
Use readOnly instead.
Type
booleanDefault
falseDescription
If true, switch between helper message and error message using isInvalid.
Deprecated
Use replace instead.
Type
booleanDefault
trueDescription
If true, the form control will be required.
Deprecated
Use required instead.
Type
booleanDefault
falseDescription
The form control label to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalDescription
Props the label component.
Type
LabelPropsType
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalDescription
If true, the form control will be readonly.
Type
booleanDefault
falseDescription
If true, switch between helper message and error message using isInvalid.
Type
booleanDefault
trueDescription
If true, the form control will be required.
Type
booleanDefault
falseType
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalDeprecated
Use required instead.
Type
booleanType
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalType
booleanType
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortalEdit this page on GitHub