Skip to Content
APIInterfacesInterface: ValidationUtils

Hero Hook Form API v2.15.0


Hero Hook Form API / ValidationUtils

Interface: ValidationUtils

Defined in: types.ts:516 

Properties

createMinLengthSchema()

createMinLengthSchema: (min, fieldName) => ZodString

Defined in: types.ts:517 

Parameters

min

number

fieldName

string

Returns

ZodString


createMaxLengthSchema()

createMaxLengthSchema: (max, fieldName) => ZodString

Defined in: types.ts:521 

Parameters

max

number

fieldName

string

Returns

ZodString


createEmailSchema()

createEmailSchema: () => ZodString

Defined in: types.ts:525 

Returns

ZodString


createRequiredSchema()

createRequiredSchema: (fieldName) => ZodString

Defined in: types.ts:526 

Parameters

fieldName

string

Returns

ZodString


createUrlSchema()

createUrlSchema: () => ZodString

Defined in: types.ts:527 

Returns

ZodString


createPhoneSchema()

createPhoneSchema: () => ZodString

Defined in: types.ts:528 

Returns

ZodString