Hero Hook Form API / CheckboxGroupFieldConfig
Interface: CheckboxGroupFieldConfig<TFieldValues>
Defined in: types.ts:194
Extends
BaseFormFieldConfig<TFieldValues>
Type Parameters
TFieldValues
TFieldValues extends FieldValues
Properties
name
name:
Path<TFieldValues>
Defined in: types.ts:138
Inherited from
label?
optionallabel:string
Defined in: types.ts:139
Inherited from
description?
optionaldescription:string
Defined in: types.ts:140
Inherited from
BaseFormFieldConfig.description
className?
optionalclassName:string
Defined in: types.ts:141
Inherited from
isDisabled?
optionalisDisabled:boolean
Defined in: types.ts:142
Inherited from
BaseFormFieldConfig.isDisabled
rules?
optionalrules:RegisterOptions<TFieldValues,Path<TFieldValues>>
Defined in: types.ts:143
Inherited from
condition()?
optionalcondition: (values) =>boolean
Defined in: types.ts:146
Parameters
values
Partial<TFieldValues>
Returns
boolean
Inherited from
dependsOn?
optionaldependsOn:Path<TFieldValues>
Defined in: types.ts:147
Inherited from
dependsOnValue?
optionaldependsOnValue:unknown
Defined in: types.ts:148
Inherited from
BaseFormFieldConfig.dependsOnValue
group?
optionalgroup:string
Defined in: types.ts:151
Inherited from
ariaLabel?
optionalariaLabel:string
Defined in: types.ts:154
Inherited from
ariaDescribedBy?
optionalariaDescribedBy:string
Defined in: types.ts:155
Inherited from
BaseFormFieldConfig.ariaDescribedBy
type
type:
"checkboxGroup"
Defined in: types.ts:196
defaultValue?
optionaldefaultValue: (string|number)[]
Defined in: types.ts:197
checkboxGroupOptions?
optionalcheckboxGroupOptions:object[]
Defined in: types.ts:198
label
label:
string
value
value:
string|number
checkboxProps?
optionalcheckboxProps:CheckboxGroupPassthroughProps
Defined in: types.ts:199
orientation?
optionalorientation:"horizontal"|"vertical"
Defined in: types.ts:200