You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having the same issues with getting the 'errorMessage' when it's a pattern in an array...
banks: {type: "array",items: {type: "object",additionalProperties: false,properties: {bsbNumber: {type: "string",pattern: "^[0-9]{3}-[0-9]{3}$"}},errorMessage: {properties: {bsbNumber: "BSB number must be in the format 000-000."}}}}
the actual error does not contain the keyword "errorMessage", only the keyword "pattern" as bellow
Hey everybody,
I have some issues when i'm trying to put errorMessage with an array, for example, this is my schema :
When the pattern doesn't match, I don't receive errorMessage keyword, but instead :
I would like to receive my
INVALID_MEDIA_PICTURES_ITEMS
. I have the feeling errorMessage only works withtype: object
Am I missing something here ?
The text was updated successfully, but these errors were encountered: