I need to get the kendo-maskedtextbox container element ref, to properly anchor a hover component to it. However i get the components instance when using #cprNrAnchor, is there any way to do it, or am i out of luck seeing it being private in a third party component.
<div class="form-group" fxLayout="row" fxLayoutAlign="start center">
<label fxFlex="150px" class="form-control-label">CPR-nr.</label>
<kendo-maskedtextbox #cprNrAnchor mask="000000-0000" class="form-control" fxFlexOffset="20px" formControlName="cprNr"></kendo-maskedtextbox>
<control-messages [anchor]="cprNrAnchor" [control]="personinfoForm.get('cprNr')"></control-messages>
</div>
You can either use the MaskedTextBox's input field as anchor, e.g.:
Sample 1
... or get a reference to the container via the ViewChild reference in the AfterViewInit handler, and set it as anchor for the popup, e.g.:
Sample 2