mirror of https://github.com/BTCPrivate/copay.git
Added a validation for min amount
This commit is contained in:
parent
82acccce2a
commit
c97d3f147a
|
@ -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…
Reference in New Issue