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

commit bf95ae11c0ee4d3bf4b94e2bcace43f2e3f432c4
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 e2bb620d1f..8acb39b025 100644
--- a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
+++ b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
@@ -167,7 +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 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