Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Fix for clearing scope.expMonth and scope.expYear when scope.expiry is used in the form #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anthonypleshek
Copy link

Fixes #19 by setting scope.expMonth and scope.expYear to null if scope.expiry was used in the form. The values for scope.expMonth and scope.expYear are not cleared if they are used in the form.

…ared appropriately, causing use of scope.expiry to use the previous expiry month and expiry year when submitting the form a second time.
@caseyjhol
Copy link

This is a better fix than #22 and should be implemented instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expiry date problem
2 participants