We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3830eb commit 04607a6Copy full SHA for 04607a6
1 file changed
client/directives/modals/settingsModal/forms/billingForm/changePaymentForm/changePaymentFormDirective.js
@@ -27,7 +27,7 @@ function changePaymentForm(
27
return typeMapping[$scope.paymentForm.cardNumber.$ccEagerType];
28
};
29
$scope.isCCExpValid = function () {
30
- if (!$scope.paymentForm.ccExpMonth.$touched && !$scope.paymentForm.ccExpYear.$touched) {
+ if (!$scope.paymentForm.ccExpMonth.$dirty && !$scope.paymentForm.ccExpYear.$dirty) {
31
return true;
32
}
33
return $scope.paymentForm.ccExpMonth.$valid &&
0 commit comments