Merge pull request #1487 from matiaspando/error/minAmount
Added a validation for min amount
This commit is contained in:
commit
3bc8e449c5
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ angular.module('copayApp.directives')
|
||||||
scope.notEnoughAmount = null;
|
scope.notEnoughAmount = null;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
ctrl.$setValidity('enoughAmount', false);
|
||||||
scope.notEnoughAmount = null;
|
scope.notEnoughAmount = null;
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue