Skip to content

Commit

Permalink
feat: public elementRef for control
Browse files Browse the repository at this point in the history
  • Loading branch information
navix committed Aug 28, 2022
1 parent ff58df1 commit f751941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/ngfe/src/lib/core/fe-control.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
ChangeDetectorRef,
Directive,
Directive, ElementRef,
EventEmitter,
Inject,
Input,
Expand Down Expand Up @@ -147,10 +147,10 @@ export class FeControl<MODEL = any, INPUT = any> implements OnChanges, OnDestroy
private _debounce?: number;

constructor(
public elementRef: ElementRef,
@Optional() @Inject(FeForm) private group: FeForm | undefined,
@Optional() @Inject(FeControl) @SkipSelf() private parentControl: FeControl | undefined,
private cdr: ChangeDetectorRef,
// @todo public elementRef ??
) {
if (this.group) {
this.standalone$.subscribe(() => {
Expand Down

0 comments on commit f751941

Please sign in to comment.