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
In revalidator documentation, with is refereed by yours, there is the possibility to assign different error messages depending on the validation it fails:
type: 'string',format: 'url'
messages: {type: 'Not a string type',format: 'Expected format is a url'}
But when I try this schema on prompt it doesn't work, just gives the default error: error: Invalid input for
My actual use case is with conform if that makes any difference:
In revalidator documentation, with is refereed by yours, there is the possibility to assign different error messages depending on the validation it fails:
But when I try this schema on
prompt
it doesn't work, just gives the default error:error: Invalid input for
My actual use case is with
conform
if that makes any difference:The text was updated successfully, but these errors were encountered: