Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1190

Wrong initial month when maximumDate is set to past date

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: No Longer Reproducible
    • Affects Version/s: 2.0.x
    • Fix Version/s: None
    • Component/s: DatePicker
    • Labels:
      None

      Description

      Steps to reproduce:
      1. Create a date picker with a maximumDate in the past (February 2014, for example).
      2. Click into the input textbox.

      Expected result:
      The displayed month should should have selectable dates. In this case it'd be best to show the last month which the user can select dates from.

      Actual results:
      The displayed month is the current month, so the user needs click back arrows until he arrives on a month which he can select dates from.

      Note:
      A similar problem happens if the user sets the minimumDate to a future date.

        Attachments

          Activity

            People

            Assignee:
            maira.araujo Maíra Araujo (Inactive)
            Reporter:
            maira.araujo Maíra Araujo (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 5 weeks ago

                Packages

                Version Package