You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Leon (JIRA)" <ji...@apache.org> on 2011/08/27 20:32:37 UTC

[jira] [Created] (OFBIZ-4378) unable to empty a datetime field

unable to empty a datetime field
--------------------------------

                 Key: OFBIZ-4378
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4378
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Leon
            Priority: Minor
             Fix For: SVN trunk


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4378) unable to empty a datetime field

Posted by "Leon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leon updated OFBIZ-4378:
------------------------

    Attachment: datetimeField.patch

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.



> unable to empty a datetime field
> --------------------------------
>
>                 Key: OFBIZ-4378
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4378
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: datetimeField.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira