errorMessage
Description
The fieldset error message to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Leave Yamada UI a star
StarFieldset
is a component used to group elements such as legends, helper messages, and error messages in a fieldset element.
Description
The fieldset 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 fieldset helper message to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Description
Props the helper message component.
Type
HelperMessageProps
Description
If true
, the fieldset will be invalid.
Type
boolean
Default
false
Description
If true
, the fieldset will be disabled.
Deprecated
Use disabled
instead.
Type
boolean
Default
false
Description
If true
, the fieldset will be invalid.
Deprecated
Use invalid
instead.
Type
boolean
Default
false
Description
If true
, the fieldset 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
Deprecated
Use required
instead.
Type
boolean
Description
The fieldset legend to use.
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Description
Props the label component.
Type
LegendProps
Type
type ONLY_FOR_FORMAT =
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
Description
If true
, the fieldset will be readonly.
Type
boolean
Default
false
Description
If true
, switch between helper message and error message using isInvalid.
Type
boolean
Default
true
Type
boolean
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