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

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


The following commit(s) were added to refs/heads/release24.09 by this push:
     new 2d30ef13af Fixed: multiple attribute removed in dropdown macro 
(OFBIZ-12127)
2d30ef13af is described below

commit 2d30ef13af8c28aa07df8d0b6f9999b3870d2850
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 af61c48a40..e2bb620d1f 100644
--- a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
+++ b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
@@ -167,6 +167,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