Jul 23, 2017 · 1 min read
Thanks for the article :)
(How would you reason this in Angular?)
For Angular you include ng-disabled to an input as shown below and manage the state via an expression.
Angular 2
<input [disabled]="ngForm.valid" />AngularJS
<input ng-disabled="ngForm.valid" />