mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 14:11:54 +00:00
No Validations for username and password length while creating user
Closes #3136
This commit is contained in:
parent
6c1e65c2c4
commit
1f780c43b8
@ -348,6 +348,8 @@
|
||||
"label.savesuccessfully": "Saved Successfully",
|
||||
"label.nodatafound": "No data was found related to the search parameters entered.",
|
||||
"label.mustbenumeric": "Must be numeric",
|
||||
"label.usernameminfivechars": "Username must be at least five characters long.",
|
||||
"label.passwordminsixchars": "Password must be at least six characters long.",
|
||||
"label.percentage": "Percentage",
|
||||
"label.outstanding.amount": "Loan outstanding amount",
|
||||
"label.and": "and",
|
||||
|
||||
@ -13,9 +13,14 @@
|
||||
class="required">*</span></label>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<input type="text" id="username" name="username" ng-model="formData.username" class="form-control" required late-Validate/>
|
||||
<input type="text" minlength="5" id="username" name="username" ng-model="formData.username" class="form-control" required late-Validate/>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<span ng-show="createuserform.username.$invalid">
|
||||
<small class="error required">
|
||||
{{'label.usernameminfivechars' | translate}}
|
||||
</small>
|
||||
</span>
|
||||
<form-validate valattributeform="createuserform" valattribute="username"/>
|
||||
</div>
|
||||
</div>
|
||||
@ -106,11 +111,16 @@
|
||||
class="required">*</span></label>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<input type="password" id="password" name="password" ng-model="formData.password" class="form-control" required
|
||||
late-Validate>
|
||||
<input type="password" minlength="6" id="password" name="password" ng-model="formData.password" class="form-control" required
|
||||
late-Validate>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<form-validate valattributeform="createuserform" valattribute="password"/>
|
||||
<span ng-show="createuserform.password.$invalid">
|
||||
<small class="error required">
|
||||
{{'label.passwordminsixchars' | translate}}
|
||||
</small>
|
||||
</span>
|
||||
<form-validate valattributeform="createuserform" valattribute="password"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user