Hi!
I am trying to get custom validation messages working using ajv-errors.
A custom message for a format error is working but I cannot get a custom error message for ‘required’ working.
example:
"zipcode": { "type": "string", "format": "postcode", "errorMessage": {"required": "Postcode is required", "format": "Postcode is in the wrong format"}},
So In case of a format-error I get the customized message
But in case of a required error I get the default error message…
What am I doing wrong?