Field

Field는 폼 요소들을 감싸는 컨테이너 컴포넌트로, 라벨, 설명, 에러 메시지, 성공 메시지 등을 제공합니다.

Property


Invalid State

Field의 유효하지 않은 상태를 설정합니다.

Validation Mode

유효성 검사 타이밍을 설정합니다.

Examples


With Description

Field에 대한 추가 설명을 표시합니다.

Validation

입력된 값에 대한 유효성을 검사합니다.

Required

필수 Field와 선택 Field를 구분하여 표시합니다.

Disabled

disabled 속성을 사용하여 비활성화된 Field를 만들 수 있습니다.

With RadioGroup

RadioGroup과 Field를 함께 사용합니다.

With Form Elements

다양한 폼 요소(TextInput, Checkbox, Switch, Select 등)와 Field를 함께 사용합니다.

Controlled

제어 컴포넌트로 Field를 관리하고 실시간으로 상태를 표시합니다.

Props Table


Field.Root

Loading component documentation...

Field.Label

Loading component documentation...

Field.Description

Loading component documentation...

Field.Error

Loading component documentation...

Field.Success

Loading component documentation...