diff --git a/projects/addon-commerce/components/input-card-grouped/input-card-grouped.component.ts b/projects/addon-commerce/components/input-card-grouped/input-card-grouped.component.ts index c065ff6d408d..bf41f781b63e 100644 --- a/projects/addon-commerce/components/input-card-grouped/input-card-grouped.component.ts +++ b/projects/addon-commerce/components/input-card-grouped/input-card-grouped.component.ts @@ -111,6 +111,9 @@ export class TuiInputCardGroupedComponent @Input() cardValidator = this.options.cardValidator; + @Input() + cvcHidden = this.options.cvcHidden; + @Input() set codeLength(length: TuiCodeCVCLength) { this.exampleTextCVC = '0'.repeat(length); @@ -130,8 +133,6 @@ export class TuiInputCardGroupedComponent exampleTextCVC = this.options.exampleTextCVC; - cvcHidden = this.options.cvcHidden; - maskCVC: MaskitoOptions = { mask: new Array(3).fill(TUI_DIGIT_REGEXP), };