We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01d93ea + 7e0e9fe commit 9476430Copy full SHA for 9476430
1 file changed
API.md
@@ -197,9 +197,9 @@ angular.module('yourApp', ['validation'])
197
<form name="Form">
198
...
199
<!-- Check the entire form valid from angular-validation `valid` -->
200
- <button ng-disabled="form.checkValid()"></button>
+ <button ng-disabled="!form.checkValid()"></button>
201
<!-- or Check the specific form(Form) valid from angular `$valid` -->
202
- <button ng-disabled="form.checkValid(Form)"></button>
+ <button ng-disabled="!form.checkValid(Form)"></button>
203
<!-- Reset the specific Form -->
204
<button ng-click="form.reset(Form)"></button>
205
<!-- Clean Reset (angular validation 1.2.0) -->
0 commit comments