ng-disabled vn-textfield
This commit is contained in:
parent
39f5f55714
commit
5f9160c172
|
@ -5,6 +5,7 @@
|
|||
name="*[name]*"
|
||||
ng-model="*[model]*"
|
||||
vn-validation="*[rule]*"
|
||||
ng-disabled="*[disable]*"
|
||||
*[enabled]*/>
|
||||
<button type="button" class="mdl-chip__action" title="Clear text">
|
||||
<i class="material-icons">clear</i>
|
||||
|
|
|
@ -22,6 +22,7 @@ module.exports = function(Client) {
|
|||
if(this.payMethod && !this.salesPerson) err();
|
||||
};
|
||||
|
||||
Client.validatesLengthOf('iban', {allowNull: true, min: 23, max: 23});
|
||||
// Hooks
|
||||
|
||||
Client.observe('before save', function(ctx, next) {
|
||||
|
|
Loading…
Reference in New Issue