I have this code :
<mat-form-field>
<input
[ngxTimepicker]="term"
[format]="12"
readonly
matInput
formControlName="term"
required
/>
<ngx-timepicker-field #term [controlOnly]="true"></ngx-timepicker-field>
</mat-form-field>
I have a js error : this._timepicker.registerInput is not a function. Have you an idea how I can solve that ?