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
validateMutliple may throw an exception when there are multiple errors. It tries to access "this.error.message" but this.error is undefined. Instead, "this.errors" is an array that contains the errors.
A possible fix is to change tv4.js line 1603-1605 to this so it can handle either this.error or this.errors:
var result = {toString: function () {
return this.valid ? 'valid' : this.error ? this.error.message : this.errors ? JSON.stringify(this.errors, null, '\t') : 'invalid'
}};
The text was updated successfully, but these errors were encountered:
validateMutliple may throw an exception when there are multiple errors. It tries to access "this.error.message" but this.error is undefined. Instead, "this.errors" is an array that contains the errors.
A possible fix is to change tv4.js line 1603-1605 to this so it can handle either this.error or this.errors:
The text was updated successfully, but these errors were encountered: