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
assert is elsewhere in the code named constraint, it is used to lookup the error message if one is not provided (e.g. mincheck)
Note that usage of addError is discouraged and shouldn't be needed #1073
In the docs we can use the
addError
method to programmatically add an error to a field:addError(name, {message: , assert: , updateClass: true});
One of the properties we can pass is
assert
what is assert and what values does it accept?I cannot find the answer for this anywhere.
Thanks!
The text was updated successfully, but these errors were encountered: