Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit a8d7c9e

Browse files
committed
Added CSS3 animation on Remote Validation
1 parent c5e883b commit a8d7c9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

templates/testingFormDirective.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ <h4><strong>{{ 'ERRORS' | translate }}!</strong></h4>
2020
<div class="form-group">
2121
<label for="input1">{{ 'INPUT1' | translate }}</label>
2222
<input type="text" class="form-control" name="input1" placeholder="alpha|min_len:2|remote:customRemoteValidationCall|required" validation="alpha|min_len:2|remote:customRemoteValidationCall|required" ng-model="input1" />
23-
<div ng-if="form1.input1.$processing">
23+
<span ng-if="form1.input1.$processing">
2424
<span class="glyphicon glyphicon-cog spinning"></span>
25-
</div>
25+
</span>
2626
</div>
2727
<div class="form-group">
2828
<label for="input2">{{ 'INPUT2' | translate }}</label>

templates/testingFormService.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ <h4><strong>{{ 'ERRORS' | translate }}!</strong></h4>
2525
<div class="form-group">
2626
<label for="input1">{{ 'INPUT1' | translate }}</label>
2727
<input type="text" class="form-control" name="input1" placeholder="alpha|min_len:2|remote:customRemoteValidationCall|required" ng-model="input1" />
28-
<div ng-if="form1.input1.$processing">
28+
<span ng-if="form1.input1.$processing">
2929
<span class="glyphicon glyphicon-cog spinning"></span>
30-
</div>
30+
</span>
3131
</div>
3232
<div class="form-group">
3333
<label for="input2">{{ 'INPUT2' | translate }}</label>

0 commit comments

Comments
 (0)