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
{
"url": {
type: String,
required: true,
use: {
urlIncludesProtocol: function (val, inputCtx, path) {
return false; // the code stops right here, but I want it keep running until it finishes
},
urlIncludesIp: function (val, inputCtx, path) {
return false; // this,
},
urlIncludesPort: function (val, inputCtx, path) {
return false; // and this.
},
}
}
}
So If there are multiple custom validators in an element, even if one of them fails, I want it to keep validating until it finishes all of its remaining custom validators.
Is there any option for this? or do I have to do some work-around?
The text was updated successfully, but these errors were encountered:
My schema looks like this.
So If there are multiple custom validators in an element, even if one of them fails, I want it to keep validating until it finishes all of its remaining custom validators.
Is there any option for this? or do I have to do some work-around?
The text was updated successfully, but these errors were encountered: