Skip to Content
ContentAPIInterfacesInterface: ConditionalValidation<TFieldValues>

Hero Hook Form API v2.5.1


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?

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

Defined in: types.ts:326