Skip to content

Commit

Permalink
fix(field, select): show hint error when it is validated
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Jan 30, 2019
1 parent e5cfc92 commit 35c0a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/field/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ export class LyNativeControl implements LyFieldControlBase, OnInit, DoCheck, OnD
this._renderer.removeClass(this._field._getHostElement(), errorClass);
this._errorClass = undefined;
}
this.stateChanges.next();
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ export class LySelect
this._renderer.removeClass(this._field._getHostElement(), errorClass);
this._errorClass = undefined;
}
this.stateChanges.next();
}
}
}
Expand Down

0 comments on commit 35c0a9c

Please sign in to comment.