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 6ee7bd21c5 Fixed: multiple attribute removed in dropdown macro 
(OFBIZ-12127)
6ee7bd21c5 is described below

commit 6ee7bd21c5180186aa8ba3cb3e08b1f9039fab74
Author: MLeila <mle...@apache.org>
AuthorDate: Thu Nov 28 13:08:40 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl 
b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
index 8c85975df1..68144683aa 100644
--- a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
+++ b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
@@ -196,6 +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 ajaxEnabled> class="autoCompleteDropDown"</#if>
       <#if event?has_content> ${event}="${action}"</#if>
       <#if size?has_content> size="${size}"</#if>

Reply via email to