Add doc
as 2nd parameter to validation message
function
#12564
Labels
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
new feature
This change adds new functionality, like a new method or class
Milestone
Prerequisites
🚀 Feature Proposal
In #6523 we added the ability to set a validator's
message
property to a function:However, there's no way to configure the return value based on the document being validated (see #12308 (reply in thread)). Would be great if you could do something like this:
Motivation
See above
Example
The text was updated successfully, but these errors were encountered: