You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2017/05/26 08:53:04 UTC

[jira] [Comment Edited] (OFBIZ-9380) renderDateTimeField works in IE, not working with lastest Chrome

    [ https://issues.apache.org/jira/browse/OFBIZ-9380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026018#comment-16026018 ] 

Deepak Dixit edited comment on OFBIZ-9380 at 5/26/17 8:53 AM:
--------------------------------------------------------------

Thanks [~chuck_kosta] for details, 
Html5 form attribute works with id, if you want to use form attribute then you need to pass an form id.
IE does not support form attribute that why case mentioned by you working in IE only.
http://caniuse.com/#feat=form-attribute

HTML5 introduced a new form attribute that allows you to associate any orphaned form control with any <form> element on the page
In your case you don;t need to pass formName in renderDateTime macro as you are defining the field inside form.

I think we can make this formName field as optional parameter as this is not required in all cases.





was (Author: deepak.dixit):
Thanks [~chuck_kosta] for details, 
Html5 form tag work with id, if you want to use form attribute then you need to pass an form id in this. 
IE does not support form attribute that why case mentioned by you working in IE only.
http://caniuse.com/#feat=form-attribute

HTML5 introduced a new form attribute that allows you to associate any orphaned form control with any <form> element on the page
In your case you don;t need to pass formName in renderDateTime macro as you are defining the field inside form.

I think we can make this formName field as optional parameter as this is not required in all cases.




> renderDateTimeField works in IE, not working with lastest Chrome
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-9380
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9380
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 14.12
>            Reporter: Chuck Kosta
>
>  {code}
>  <@htmlTemplate.renderDateTimeField ... />
> {code}
> Works correctly in IE; but in firefox and chrome, it ignores the values when sent to an entity updating service call. The page gets refreshed with the original date.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)