Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-16140

Date input is always set to today when the fields are nullable

    Details

    • Branch Version/s:
      6.0.x

      Description

      Add an input date like this:
      <liferay-ui:input-date
      monthParam="month"
      monthValue="0"
      monthNullable="<%= true %>"
      dayParam="day"
      dayValue="0"
      dayNullable="<%= true %>"
      yearParam="year"
      yearValue="0"
      yearNullable="<%= true %>"
      yearRangeStart="<%= 2000 %>"
      yearRangeEnd="<%= 2050 %>"
      />

      The date always sets the fields values to today's values when the field is 0 when you hover over the date input.

      If you set dayValue to 5, then it does not change.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 28 weeks, 1 day ago

                  Packages

                  Version Package
                  6.0.12 EE
                  6.1.0 CE RC1