Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28128

set selectedDate to null should make UI change to initial state just like does NOT run method that set selectedDate to null.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Mobile: DateSpinner
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1.create an application, add a DateSpinner component. set displayMode and bindable a selectedDate variable.
      2.set minDate and maxDate.
      3.set selectedDate out of the range between minDate and maxDate.
      4.the actual selectedDate should be minDate or maxDate, it decided to which is more near between the set value of selectedDate.
      5.add a button, write a click handler, in this handler, set selectedDate to null.

      Actual Results:
      set null will change to minDate.

      Expected Results:
      null and date out of min max range are all invalid date. so I suppose their behavior is consistancy.

      Workaround (if any):

      please see sample code attached.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: