Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-7261

Datepicker - InputField not properly updated when format is "mm-dd-yy" and input field is bound to a Date

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-m1
    • Fix Version/s: 2.2.0-m4, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • Application Requirement:
      Rice
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      If you set the datepicker dateFormat option to a value other than the mm/dd/yyyy default, AND the InputField is bound to a Date. The date value is not displayed in the input field after a submit is performed.

      The date may be entered in the input fields, the datepicker recognized the date and the widget is set to the date, the date is properly displayed. All looks ok, prior to submit. But after the submit, the InputField is cleared.

      Works fine if inputField is bound to a String. but not when a Date.

      Only happens when the date format is NOT the default AND the field is bound to a Date.

        Attachments

          Issue Links

            Activity

            Hide
            jkneal Jerry Neal (Inactive) added a comment -

            Jeff,

            Please talk with Dan regarding the remaining work on these datapicker Jiras.

            Jerry

            Show
            jkneal Jerry Neal (Inactive) added a comment - Jeff, Please talk with Dan regarding the remaining work on these datapicker Jiras. Jerry
            Hide
            jruch Jeff Ruch added a comment -

            jquery datepicker was expecting the mm-dd-yy format. When it didn't get it, the field was left blank. I checked for the condition and then passed the input value as a date into the datepicker.

            Show
            jruch Jeff Ruch added a comment - jquery datepicker was expecting the mm-dd-yy format. When it didn't get it, the field was left blank. I checked for the condition and then passed the input value as a date into the datepicker.

              People

              • Assignee:
                jruch Jeff Ruch
                Reporter:
                dsiebert Daniel Seibert (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified