Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:
      None

      Description

      In form which is designed by form widget, if there's datetime field, then you can input datetime value directly or via jquery date picker. But whenever you input a valid datetime, you're unable to empty it again.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        5m 8s 1 Leon 27/Aug/11 19:36
        Patch Available Patch Available Closed Closed
        554d 10h 49m 1 Leon 04/Mar/13 05:25
        Leon made changes -
        Status Patch Available [ 10002 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]
        Hide
        Leon added a comment -

        The up-to-date behavior of date-time form widget is : empty the field if there's any format error. So what I submitted before (WYSWYG) is out of season.

        Show
        Leon added a comment - The up-to-date behavior of date-time form widget is : empty the field if there's any format error. So what I submitted before (WYSWYG) is out of season.
        Leon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Leon made changes -
        Field Original Value New Value
        Attachment datetimeField.patch [ 12491970 ]
        Hide
        Leon added a comment -

        According to the rule "What you get is What you input", if Date.parseExcat return null, set the hidden value to what the user inputed.

        Also fix trivial defect in the initDate process.

        Show
        Leon added a comment - According to the rule "What you get is What you input", if Date.parseExcat return null, set the hidden value to what the user inputed. Also fix trivial defect in the initDate process.
        Leon created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Leon
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development