diff --git a/src/app/components/password/password.ts b/src/app/components/password/password.ts index 6942bb58494..8da5997202a 100644 --- a/src/app/components/password/password.ts +++ b/src/app/components/password/password.ts @@ -109,7 +109,7 @@ export class PasswordDirective implements OnDestroy, DoCheck { documentResizeListener: VoidListener; - constructor(@Inject(DOCUMENT) private document: Document, @Inject(PLATFORM_ID) private platformId: any, private renderer: Renderer2, public el: ElementRef, public zone: NgZone) {} + constructor(@Inject(DOCUMENT) private document: Document, @Inject(PLATFORM_ID) private platformId: any, private renderer: Renderer2, public el: ElementRef, public zone: NgZone, public config: PrimeNGConfig) {} ngDoCheck() { this.updateFilledState();