Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am getting minutesGap issue in ngx-timepicker after updated the cli

Tags:

angular

I am getting minutesGap issue in ngx-timepicker after updated the cli

   core.js:5967 ERROR TypeError: Cannot read property 'minutesGap' of undefined
        at TimepickerDirective.set (ngx-timepicker.directive.ts:94)               
like image 744
Swarnendu Mandal Avatar asked Oct 24 '25 04:10

Swarnendu Mandal


1 Answers

Had the same problem, found my answer here: https://github.com/Agranom/ngx-material-timepicker/issues/358

In short, in your HTML file, move the [ngxTimepicker] to the beginning of your input tag. Like so:

<input [ngxTimepicker]="..." ........>
like image 122
Airrudi Avatar answered Oct 25 '25 17:10

Airrudi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!