This is an automated email from the ASF dual-hosted git repository.

mleila pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5ee1fcd138 Fixed: multiple attribute removed in dropdown macro 
(OFBIZ-12127)
5ee1fcd138 is described below

commit 5ee1fcd1386269bd8d6c419cb00f139b4c322691
Author: MLeila <mle...@apache.org>
AuthorDate: Thu Nov 28 14:37:30 2024 +0100

    Fixed: multiple attribute removed in dropdown macro (OFBIZ-12127)
    
    This set back the multiple attribute for multi dropdown to be displayed
    correctly
---
 themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl 
b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
index 68144683aa..bccbb7eaea 100644
--- a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
+++ b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
@@ -196,7 +196,7 @@ under the License.
     <select name="${name?default("")}"
       <@renderClass className alert /> <@renderDisabled disabled />
       <#if id?has_content> id="${id}"</#if>
-      <#if multiple?has_content> multiple="multiple"</#if>
+      <#if multiple> multiple="multiple"</#if>
       <#if ajaxEnabled> class="autoCompleteDropDown"</#if>
       <#if event?has_content> ${event}="${action}"</#if>
       <#if size?has_content> size="${size}"</#if>

Reply via email to