Answer the question
In order to leave comments, you need to log in
How to get form validation result in component?
In the first Angular it was done something like this: $scope.profileForm.$invalid.
How to do it in Angular 2?
Answer the question
In order to leave comments, you need to log in
<form #loginFrm="ngForm" (ngSubmit)="onSubmit(loginFrm)" novalidate>
....
</form>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question