I'm trying to set a DateField's disabledRanges to yesterday and
before.
Everything I have tried will not do this, I can disabled today and
before but I need to include today.
Does anyone have any ideas?
here's all I've tried:
Assign yesterday's date to a yesterday variable.
disabledRanges="{[{rangeEnd: yesterday }]}"
(disables today and before, yesterday does have correct date)
disabledRanges="{[{rangeEnd new Date.setTime(new Date().getTime() -
(1*millisecondsPerDay)) }]}"
(all days are enabled)
Any help would be greatly appreciated.
-David