0

I have been looking searching to find anything related to this. but no nothing.

<div>
    <input [ngxTimepicker]="picker" >
    <ngx-material-timepicker #picker></ngx-material-timepicker>
</div>

This is what I am using. I want the time-picker to be under the input component instead of a popup. which means. instead of taking the full screen, I want that to be open just under the input component

zechno
  • 21
  • 4

1 Answers1

0

found a solution

'''

<div class="ngx-timepicker">
    <input [ngxTimepicker]="appendedToInput" aria-label="Append to input"
           placeholder="Append to input" readonly>
    <ngx-material-timepicker
        #appendedToInput
        [appendToInput]="true">
    </ngx-material-timepicker>
</div>

'''

zechno
  • 21
  • 4