Hero Hook Form API / createMaxLengthSchema
Function: createMaxLengthSchema()
createMaxLengthSchema(
max,fieldName):ZodString
Defined in: utils/validation.ts:17
Creates a maximum length validation schema
Parameters
max
number
fieldName
string
Returns
ZodString