Skip to content

Commit

Permalink
feat(addon-commerce): add cvcHidden input property (#7998)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Jul 2, 2024
1 parent aea2db3 commit a4fddd0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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),
};
Expand Down

0 comments on commit a4fddd0

Please sign in to comment.