Skip to content

Commit 04607a6

Browse files
author
Myztiq
committed
touched -> dirty
1 parent c3830eb commit 04607a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/directives/modals/settingsModal/forms/billingForm/changePaymentForm/changePaymentFormDirective.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function changePaymentForm(
2727
return typeMapping[$scope.paymentForm.cardNumber.$ccEagerType];
2828
};
2929
$scope.isCCExpValid = function () {
30-
if (!$scope.paymentForm.ccExpMonth.$touched && !$scope.paymentForm.ccExpYear.$touched) {
30+
if (!$scope.paymentForm.ccExpMonth.$dirty && !$scope.paymentForm.ccExpYear.$dirty) {
3131
return true;
3232
}
3333
return $scope.paymentForm.ccExpMonth.$valid &&

0 commit comments

Comments
 (0)