clearAllErrorMessages method
dynamic
clearAllErrorMessages()
Clear all error messages associated with the form.
The clearAllErrorMessages function is used to remove all error messages
associated with the entire form. It clears the entire _errors map, effectively
removing all error messages for all form attributes.
Implementation
clearAllErrorMessages() {
for (var attribute in _attributes.keys) {
clearErrorMessages(attribute);
}
}