Nicolas Malin created OFBIZ-12603: ------------------------------------- Summary: In place editor wrong enable on display field Key: OFBIZ-12603 URL: https://issues.apache.org/jira/browse/OFBIZ-12603 Project: OFBiz Issue Type: Bug Components: framework/widget, themes Affects Versions: 18.12.06, 22.01.01, Upcoming Branch Reporter: Nicolas Malin Assignee: Nicolas Malin
When, on a form, you set a widget-style on a display field, you activate the inline editor without reason. The issue comes from HtmlFormMacroLibrary.ftl that initialize some value in a span {code:java} <#if inPlaceEditorUrl?has_content || class?has_content || alert=="true" || title?has_content> <span data-inplace-editor-url="${inPlaceEditorUrl}" data-inplace-editor-params="${inPlaceEditorParams}" <#if idName?has_content>id="cc_${idName}"</#if> <#if title?has_content>title="${title}"</#if> <@renderClass class alert />><#t/> </#if>{code} With the previous code, if you have a class value, the span received in place editor elements without reason. -- This message was sent by Atlassian Jira (v8.20.7#820007)