mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 13:51:55 +00:00
editting-employee-mobile-Number-for-SMS-Should-only-allow-numeric-issues#2962 (#3033)
This commit is contained in:
parent
7b8fbc03d6
commit
32b6ca925f
@ -64,7 +64,15 @@
|
||||
<label class="control-label col-sm-2" for="mobileNo">{{ 'label.input.mobileNo' | translate }}</label>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<input type="text" id="mobileNo" class="form-control" ng-model="formData.mobileNo">
|
||||
<input type="text" id="mobileNo" name="mobileNo" ng-model="formData.mobileNo"
|
||||
ng-pattern="/^[0-9]+$/" class="form-control"/>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<span ng-show="editemployeeform.mobileNo.$invalid && editemployeeform.mobileNo.$dirty">
|
||||
<small class="required" ng-show="editemployeeform.mobileNo.$error.pattern">
|
||||
{{'label.mustbenumeric' | translate}}
|
||||
</small>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user