Closed galenandrew closed 6 years ago
Add support for Joi .label(name) in custom error messages.
.label(name)
For example: Please enter {{label}} would result in Please enter your full name for the following schema:
Please enter {{label}}
Please enter your full name
name: Joi.string().label('your full name')
Closing for now. May reopen later after reviewing latest Joi version.
Add support for Joi
.label(name)
in custom error messages.For example:
Please enter {{label}}
would result inPlease enter your full name
for the following schema: