Skip to content

Commit

Permalink
PM-8113 - Add required to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredSnider-Bitwarden committed Feb 4, 2025
1 parent 56535ad commit adf448c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ import {
providers: [],
})
export class TwoFactorAuthAuthenticatorComponent {
@Input() tokenFormControl: FormControl | undefined = undefined;
@Input({ required: true }) tokenFormControl: FormControl | undefined = undefined;
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import { TwoFactorAuthEmailComponentService } from "./two-factor-auth-email-comp
providers: [],
})
export class TwoFactorAuthEmailComponent implements OnInit {
@Input() tokenFormControl: FormControl | undefined = undefined;
@Input({ required: true }) tokenFormControl: FormControl | undefined = undefined;

twoFactorEmail: string | undefined = undefined;
emailPromise: Promise<any> | undefined = undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ import {
providers: [],
})
export class TwoFactorAuthYubikeyComponent {
@Input() tokenFormControl: FormControl | undefined = undefined;
@Input({ required: true }) tokenFormControl: FormControl | undefined = undefined;
}

0 comments on commit adf448c

Please sign in to comment.