Yamada UIにスターをあげる

スター
Yamada UIYamada UIv1.5.1

Fieldset

Fieldsetは、フィールドセット要素に、レジェンド、ヘルパーメッセージ、エラーメッセージなどをグループ化するために使用されるコンポーネントです。

ソース@yamada-ui/form-control

Props

FieldsetProps

errorMessage

説明

The fieldset error message to use.

タイプ

type ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal

errorMessageProps

説明

Props the error message component.

タイプ

ErrorMessageProps

helperMessage

説明

The fieldset helper message to use.

タイプ

type ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal

helperMessageProps

説明

Props the helper message component.

タイプ

HelperMessageProps

isDisabled

説明

If true, the fieldset will be disabled.

タイプ

boolean

デフォルト

false

isInvalid

説明

If true, the fieldset will be invalid.

タイプ

boolean

デフォルト

false

isReadOnly

説明

If true, the fieldset will be readonly.

タイプ

boolean

デフォルト

false

isReplace

説明

If true, switch between helper message and error message using isInvalid.

タイプ

boolean

デフォルト

true

isRequired

説明

If true, the fieldset will be required.

タイプ

boolean

デフォルト

false

legend

説明

The fieldset legend to use.

タイプ

type ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal

legendProps

説明

Props the label component.

タイプ

LegendProps

optionalIndicator

タイプ

type ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal

requiredIndicator

タイプ

type ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal

LegendProps

isRequired

タイプ

boolean

optionalIndicator

タイプ

type ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal

requiredIndicator

タイプ

type ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal

GitHubでこのページを編集する

FormControlButton