Problem: I'm using the selectableRange property of a DateChooser, but the DateChooser will not allow me to "select" the first date within the selectableRange.
Here is the code. Give it a go.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:comps="comps.*"
backgroundColor="0xFFFFFF"
layout="vertical" xmlns:text="flash.text.*">
<mx:DateFormatter id="df"/>
<mx:DateChooser id="dc" allowMultipleSelection="true" selectableRange="{{rangeStart : new Date(2010,0,1), rangeEnd : new Date(2010,7,31)}}"/>
<mx:TextArea id="ta" text="{df.format(dc.selectedRanges[0].rangeStart) + ' to ' + df.format(dc.selectedRanges[0].rangeEnd)}"/>
</mx:Application>
Try selecting Jan 1 - Jan 10 using Shift-click. No go. But try selecting Jan 2 - Jan 11, works fine. What's up with Jan 1?
You can also find the app here: http://www.flexdevelopers.com/examples/dateChooser/bug1/SampleApp.html