Added a validation for min amount

This commit is contained in:
Matias Pando 2014-09-26 11:23:48 -03:00
parent 82acccce2a
commit c97d3f147a
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ angular.module('copayApp.directives')
scope.notEnoughAmount = null;
}
} else {
ctrl.$setValidity('enoughAmount', false);
scope.notEnoughAmount = null;
}
return value;