Hero Hook Form API / ConditionalValidation
Interface: ConditionalValidation<TFieldValues>
Defined in: types.ts:498
Type Parameters
TFieldValues
TFieldValues extends FieldValues
Properties
when
when:
Path<TFieldValues>
Defined in: types.ts:499
is
is:
string|number|boolean|null|undefined
Defined in: types.ts:500
then
then:
RegisterOptions<TFieldValues,Path<TFieldValues>>
Defined in: types.ts:501
otherwise?
optionalotherwise:RegisterOptions<TFieldValues,Path<TFieldValues>>
Defined in: types.ts:502