By Clicking calendar icon, need to open calendar in same position. But when remove the the input field the popup open in the top left on the page. How to fix it
1 Answer
As i figured out, date picker position determine by the input field. So we can't simple hide the input field using none of below.
hidden = true | display:none | *ngIf = false
But we can do a hack for this one.
and a simple class to set the font size to 0px and make sure the icon and the input field in display:inline-block
Hope i helped for someone!

