Hero Hook Form API / ConditionalValidation
Interface: ConditionalValidation<TFieldValues>
Defined in: types.ts:322
Type Parameters
TFieldValues
TFieldValues extends FieldValues
Properties
when
when:
Path<TFieldValues>
Defined in: types.ts:323
is
is:
string|number|boolean|null|undefined
Defined in: types.ts:324
then
then:
RegisterOptions<TFieldValues,Path<TFieldValues>>
Defined in: types.ts:325
otherwise?
optionalotherwise:RegisterOptions<TFieldValues,Path<TFieldValues>>
Defined in: types.ts:326