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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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

       
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

     [ 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