Open CR903 opened 5 years ago
@CR903 Hi! I can't reproduce it in the Demo app, so could you, please, create a reproduction via Stackblitz?
I have the same issue as well. I was having an observable pattern for the classes to be subscribed, however, the style classes only show up only after I hovered the datepicker.
To deal with this, I made sure the dateCustomClasses data was already prepared and subscribed before constructing the datepicker.
Hi. Notice here. That arrays actions have some tricks with change detection for bound properties. Refer this: https://chrislo.ca/angular-2345-change-detection-on-data-bound-array-pushunshift-popshift-or-splice/
Hi, @CR903! We can’t reproduce the issue. If you still can, please do it at https://stackblitz.com/edit/angular-ivy-de1elj?file=tsconfig.json/ and share with us, or please add a recorded video.
How can I send inline styles rather than in classes for bs datepicker inline. Because there is a need for my use case where I dynamically get data from API and according to that I need to give background color dynamically
bs-datepicker-inline and minModel
ngx-bootstrap: 5.1.1
Angular: 7.2.14
Bootstrap: V4
First of all, my English is poor!
when I change ‘dateCustomClasses’ value, datepicker did not display the mark. then hover the calendar,that display.
init:
then change
dateCustomClasses
value:when hover:
how I change
dateCustomClasses
value , that will display right now. please help, thanks!