Skip to content

Commit

Permalink
add PrimeNGConfig into constructor of PasswordDirective
Browse files Browse the repository at this point in the history
  • Loading branch information
passerbyflutter committed May 28, 2024
1 parent 3d5b78e commit fc5b224
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 fc5b224

Please sign in to comment.