I have two date pickers. When they are first displayed on the page the max and min for the range are set to today so that no dates can be selected. Based on a drop down selection, the valid date ranges are set on both calendars. I want TODAY to be the default, selected date in the TO date picker and in the FROM datepicker I'd like nothing to be selected. I have added a bit of CSS to highlight TODAY as if it was any other selected date. All is well in the TO calendar at this point. In the FROM calendar, however, TODAY is displayed as if it was picked, but in reality no date has been picked at this time. The issue seems to be that even if you set the date of a datepicker to 'null', todays date is still marked as ui-datepicker-current-date as well as ui-datepicker-today. I have no problem with it being marked as ui-datepicker-today, because, well, it IS after all today. With it also being marked as ui-datepicker-current-date, I have no way of differentiating the unselected date in the TO calendar with one that has actually been selected by the user.
Has anyone figured out how to make this work? The selectors added to a user selected date and a non-selected date appear to be the same. Both are marked at today and current date and both are ui-active.
I can post the exact code tomorrow if you are completely lost. It's at work and I'm researching at home at the moment. Thanks in advance for any help you can offer!