-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from Availity/feature/validation-without-dirt…
…y-model Add support to show fields in error even when their models are clean
- Loading branch information
Showing
7 changed files
with
69 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<form name="myForm" data-av-val-form="default"> | ||
<div class="form-group"> | ||
<label for="text3">Label for text input</label> | ||
<input data-ng-model="model.lastName" name="lastName" type="text" data-av-val-field="lastName"/> | ||
<p class="help-block">Example block-level help text here.</p> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<form name="myForm" data-av-val-form="default"> | ||
<input data-ng-model="demo.firstName" name="firstName" type="text" data-av-val-field="firstName"/> | ||
<div id="lastNameFormGroup" class="form-group"> | ||
<label for="lastName">Last Name</label> | ||
<input id="lastName" data-ng-model="demo.lastName" class="form-control" name="lastName" type="text" data-av-val-field="lastName"/> | ||
<p id="lastNameErrorMessage" data-av-val-container></p> | ||
</div> | ||
<input data-ng-model="demo.invalidAllowed" name="invalidAllowed" type="text" data-av-val-field="lastName" data-av-val-invalid="true"/> | ||
<div id="showOnLoadFormGroup" class="form-group"> | ||
<input data-ng-model="demo.showOnLoad" name="showOnLoad" type="text" data-av-val-field="lastName" data-av-val-show="true"/> | ||
<p data-av-val-container></p> | ||
</div> | ||
<input data-ng-model="demo.city" name="city" type="text"/> | ||
<input data-ng-model="demo.state" name="state" type="text"/> | ||
<input data-ng-model="demo.zip" name="zip" type="text" data-av-val-field="zip" data-av-val-on="blur"/> | ||
<input data-ng-model="demo.date" name="date" type="text" data-av-datepicker data-av-val-field="dateFormat"> | ||
</form>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters