From c97d3f147a57eef6c5d3bda71d992bfc6f28d7d6 Mon Sep 17 00:00:00 2001 From: Matias Pando Date: Fri, 26 Sep 2014 11:23:48 -0300 Subject: [PATCH] Added a validation for min amount --- js/directives.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/directives.js b/js/directives.js index b4b1a84a3..f477d5923 100644 --- a/js/directives.js +++ b/js/directives.js @@ -72,6 +72,7 @@ angular.module('copayApp.directives') scope.notEnoughAmount = null; } } else { + ctrl.$setValidity('enoughAmount', false); scope.notEnoughAmount = null; } return value;