I have been using this date-time picker https://dalelotts.github.io/angular-bootstrap-datetimepicker/index.html and i am changing the configuration based on other selection the user makes, but after the first change the view remains the same(the date-time picker opens on the last view that was used before) even thought the configuration was properly changed. This is a sample of my code:
<dl-date-time-picker minView="{{minView}}"
startView="{{startView}}"
maxView="year"
minuteStep="5"
#datepicker
[class.weekView-display]="isWeekView"
(change)="setDisplayDate($event)"
(click)="$event.stopPropagation();">
</dl-date-time-picker>
So, basically the minview and startView updates, but the user still sees the previous view.
Thank you