Closed waratah closed 9 years ago
Hi, what issue did you need this fix to solve?
If you do not install the extension the date selected in code is highlighted with btn-info (blue) after installing the extension the same date picker will display the dates without btn-info (grey). This will reset when you have two pickers showing, the second will start displaying blue when you click on the first. We have original code doing range with two date pickers (start and end). Selecting a new date in start will immediately turn blue and the second picker selected will also turn blue.
If I block updating the 'selected' scope variable is blocked when there are no selected dates in the array the 'other' date pickers work correctly.
I had to apply this fix which 'work for me', checking whether I have a selected dates before affecting day.selected. Needs validation.