Sorry to resurrect this, but this "feature" slipped into Flex 2 and we're trying to figure out a work around.
Jesse - did you create a solution that would work in Flex 2? Thanks Niklas On 2/3/06, Deepa Subramaniam <[EMAIL PROTECTED]> wrote: > I've filed a bug and its being looked at internally. > > deepa > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt > Chotin > Sent: Thursday, February 02, 2006 10:07 PM > To: [email protected] > Subject: RE: [flexcoders] DateField & selectedDate toggle > > Have you filed a bug on this issue? I don't have a better way for > you... > > Matt > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of JesterXL > Sent: Monday, January 30, 2006 2:22 PM > To: Flexcoders > Subject: [flexcoders] DateField & selectedDate toggle > > If you select a day in a DateChooser or DateField, it sets the > selectedDate > to the Date value chosen. If you select it again, it sets it to > undefined. > > This is not desirable. This is the only control that does not follow > the > List way of working: > - click to select > - control + click to deselect > > This is driving our validation crazy as well. > > In Flash MX 2004, I simply extended the CalendarLayout & DateChooser to > fix > the problem. I did not allow de-selection, therefore never had to worry > > about selectedDate toggling to a non-selectable value if a user clicks > the > same date again. > > In Flex, this isn't so straightforward. For now, I'm going to just try > to > extend the DateField, extend DateChooser's getter/setter functions > (since > there are like 3 functions that are too huge to extend that atcually do > the > re-setting of the variable), and then hi-jack the class that DateField > throws up in the PopUpManager to use mine instead. > > ...anyone have a... you know... better way? Perhaps an already fixed > DateField? > > --JesterXL > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > SPONSORED LINKS > Web site design development > Computer software development > Software design and development > Macromedia flex > Software development best practice > > > > YAHOO! GROUPS LINKS > > * Visit your group "flexcoders" on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > -- Niklas Richardson Prismix Ltd UK based Flex and ColdFusion Specialists -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

