Skip to content

Commit f3d22e9

Browse files
committed
fix(lib): upgraded angular deps
1 parent 94c1d2d commit f3d22e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/angular-material-extensions/password-strength/src/lib/component/mat-password-strength/mat-password-strength.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
Output,
1111
SimpleChanges
1212
} from '@angular/core';
13-
import {ControlValueAccessor, FormControl, NG_VALUE_ACCESSOR, ValidatorFn, Validators} from '@angular/forms';
13+
import {ControlValueAccessor, UntypedFormControl, NG_VALUE_ACCESSOR, ValidatorFn, Validators} from '@angular/forms';
1414
import {Colors, Criteria} from '../../enum';
1515
import {MatPasswordStrengthValidator} from '../../validator';
1616
import {RegExpValidator} from '../../validator/regexp.class';
@@ -62,8 +62,8 @@ export class MatPasswordStrengthComponent implements OnInit, OnChanges, AfterCon
6262
containAtCustomChars: boolean;
6363

6464
// TO ACCESS VIA CONTENT CHILD
65-
passwordFormControl: FormControl = new FormControl();
66-
passwordConfirmationFormControl: FormControl = new FormControl();
65+
passwordFormControl: UntypedFormControl = new UntypedFormControl();
66+
passwordConfirmationFormControl: UntypedFormControl = new UntypedFormControl();
6767

6868
validatorsArray: ValidatorFn[] = [];
6969
Validators: ValidatorFn;

0 commit comments

Comments
 (0)