Open ctwoolsey opened 2 years ago
3.15.0
//somewhere in code this.changeset.addError('someField', 'You failed a complex validation');
//in the submit method await this.changeset.validate(); if (this.changeset.isValid) { // }
I would expect the changset to fail validation.
the error is cleared from changeset.errors and the changeset passes validation.
Version
3.15.0
Test Case
//somewhere in code this.changeset.addError('someField', 'You failed a complex validation');
//in the submit method await this.changeset.validate(); if (this.changeset.isValid) { // }
Expected Behavior
I would expect the changset to fail validation.
Actual Behavior
the error is cleared from changeset.errors and the changeset passes validation.