Skip to content

Commit

Permalink
Why default validity is false? #19
Browse files Browse the repository at this point in the history
  • Loading branch information
hueitan committed Jun 15, 2014
1 parent 8e05496 commit 9a6fd48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,3 +383,7 @@ $validationProvider.validate($scope.Form); // $scope.Form is html form name `For

`submit` : when user click submit, then start watching using `watch` to validate<br/>
`submit-only` : when user click `submit`, doesn't validate through `watch` until `submit` button is clicked.

###When using checkValid() manually [#19](https://github.com/huei90/angular-validation/issues/19)###

Before using `checkValid()`, you have to execute `submit` first to get the latest result.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ <h1>Angular Validation.
<div class="row">
<div class="small-12 medium-12 large-6 columns">
<form name="Form" id="form1">
{{ Form }}
<fieldset>
<legend>Form ($watch)</legend>

Expand Down

0 comments on commit 9a6fd48

Please sign in to comment.