Skip to content

Commit

Permalink
Merge pull request #1487 from matiaspando/error/minAmount
Browse files Browse the repository at this point in the history
Added a validation for min amount
  • Loading branch information
matiu committed Sep 29, 2014
2 parents 10e5d32 + c97d3f1 commit 3bc8e44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ angular.module('copayApp.directives')
scope.notEnoughAmount = null;
}
} else {
ctrl.$setValidity('enoughAmount', false);
scope.notEnoughAmount = null;
}
return value;
Expand Down

0 comments on commit 3bc8e44

Please sign in to comment.