unhighlightErrorInputs method

int unhighlightErrorInputs()

Implementation

int unhighlightErrorInputs() {
  if (canHighlightInputs()) return -1;

  var highlightClass = this.highlightClass;

  return forEachFieldElement((fieldElement) {
    fieldElement.classes.remove(highlightClass);
    var fieldName = getElementFieldName(fieldElement);
    _hideInvalidMessage(fieldName);
  });
}