Skip to Content
APIInterfacesInterface: ConditionalValidation<TFieldValues>

Hero Hook Form API v2.15.0


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?

optional otherwise: RegisterOptions<TFieldValues, Path<TFieldValues>>

Defined in: types.ts:502