disabled
Description
If true
, the form control will be disabled.
Type
boolean
Default
false
Leave 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
boolean
Default
false
Description
The form control error message to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Description
Props the error message component.
Type
ErrorMessageProps
Description
The form control helper message to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Description
Props the label component.
Type
HelperMessageProps
Description
If true
, the form control will be invalid.
Type
boolean
Default
false
Description
If true
, the form control will be disabled.
Deprecated
Use disabled
instead.
Type
boolean
Default
false
Description
If true
, the form control will be invalid.
Deprecated
Use invalid
instead.
Type
boolean
Default
false
Description
If true
, the form control will be readonly.
Deprecated
Use readOnly
instead.
Type
boolean
Default
false
Description
If true
, switch between helper message and error message using isInvalid.
Deprecated
Use replace
instead.
Type
boolean
Default
true
Description
If true
, the form control will be required.
Deprecated
Use required
instead.
Type
boolean
Default
false
Description
The form control label to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Description
Props the label component.
Type
LabelProps
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Description
If true
, the form control will be readonly.
Type
boolean
Default
false
Description
If true
, switch between helper message and error message using isInvalid.
Type
boolean
Default
true
Description
If true
, the form control will be required.
Type
boolean
Default
false
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Deprecated
Use required
instead.
Type
boolean
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Type
boolean
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Edit this page on GitHub