0 Replies Latest reply on Jul 31, 2008 8:07 PM by (Ryan_Frishberg)

    [svn] 2699: Fixing some issues with DateField.selectableRange.

      Revision: 2699
      Author: rfrishbe@adobe.com
      Date: 2008-07-31 21:07:08 -0700 (Thu, 31 Jul 2008)

      Log Message:
      -----------
      Fixing some issues with DateField.selectableRange. Between Flex 2 and Flex 3, we restricted some code in commitProperties to only update the days when the date was valid. Unfortunately, we were allowing the user to increment and decrement the month to invalid dates. So we would increment, but the dates wouldn't redraw correctly, and we'd be left in a funky state. To fix this, we just restricted the up/down arrows for years and months to be more restrictive (as restrictive as the commitProperties() check).

      QE: Yes
      Doc: No
      Bugs: SDK-16164
      Reviewer: Jason

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-16164

      Modified Paths:
      --------------
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/DateChooser.as