valor-software / ngx-bootstrap

Fast and reliable Bootstrap widgets in Angular (supports Ivy engine)
https://valor-software.com/ngx-bootstrap
MIT License
5.52k stars 1.7k forks source link

(ngValueChange) and [dateCustomClasses] do not work together #5914

Open fabiogiurdanella opened 3 years ago

fabiogiurdanella commented 3 years ago

<bs-datepicker-inline [minDate]="todayDate" [bsConfig]="bsConfig" *ngIf="this.period === 'W'" [bsValue]="todayDate" (bsValueChange)="ChangeData($event)" [dateCustomClasses]="customClassWeek"></bs-datepicker-inline>

This is not working, when i add customClasses the event 'bsValueChange' is not triggered. If i remove custom classes, the event return to work correctly.

sacav1 commented 3 years ago

same problem here. The parent component has OnPush stategy.

jordan-tpz commented 3 years ago

Hi ! Anyone found a solution about this ?