Skip to content

Commit

Permalink
Merge pull request #15728 from passerbyflutter/fix-password-directive…
Browse files Browse the repository at this point in the history
…-loss-config

FIX:PasswordDirective loss PrimeNGConfig in constructor
  • Loading branch information
cetincakiroglu authored May 30, 2024
2 parents 1e7c326 + fc5b224 commit 067476f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/password/password.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 067476f

Please sign in to comment.