Merge pull request #1487 from matiaspando/error/minAmount

Added a validation for min amount
This commit is contained in:
Matias Alejo Garcia 2014-09-29 12:10:18 -03:00
commit 3bc8e449c5

View file

@ -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;