Created
February 27, 2020 22:19
-
-
Save theAlgorithmist/9b8927c0772edaa416b6164262c564ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
. | |
. | |
this._expirationMonth = new FormControl(months[this._curMonth].value, Validators.required); | |
this._expirationYear = new FormControl(this._userSelectedYear, Validators.required); | |
this._cvv = new FormControl('', Validators.required); | |
this._expirationMonth.disable(); | |
this._expirationYear.disable(); | |
this._cvv.disable(); | |
this.ccSubGroup = new FormGroup({ | |
ccNumber : new FormControl('', Validators.required), | |
expirationMonth: this._expirationMonth, | |
expirationYear : this._expirationYear, | |
cvv : this._cvv, | |
}); | |
. | |
. | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment