Custom error message for pattern / regex validation

I would be a great addition to be able to set a customer error message when using patern/regex validation on a field in datasource collection.

Example (basic email validation)
The message by nocobase: "email with value “hello@@google,com” fails to match the required pattern: [1]+@[^@]+.[^@]+$ "

For an end user this doesn’t mean anything. We should be able to set a custom message.
Like “The entered email address is invalid. Please check.”


  1. ^@ ↩︎

Thanks for your feedback.
This feature is not currently supported. I have documented this requirement and will evaluate it in the future.