Added option to override the class name of a label tag for select2 control. Fixes #5185

This commit is contained in:
Nagesh Dhope 2020-02-17 11:58:28 +05:30 committed by Akshay Joshi
parent e9f16a29cf
commit 3e10e2c978
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ Housekeeping
| `Issue #5088 <https://redmine.postgresql.org/issues/5088>`_ - Improve code coverage and API test cases for the Event Trigger module.
| `Issue #5176 <https://redmine.postgresql.org/issues/5176>`_ - Enhance logging by tracking stdout and stderr of subprocess when log level set to DEBUG.
| `Issue #5185 <https://redmine.postgresql.org/issues/5185>`_ - Added option to override the class name of a label tag for select2 control.
Bug fixes
*********

View File

@ -2138,7 +2138,7 @@ define([
formatter: Select2Formatter,
template: _.template([
'<% if(label == false) {} else {%>',
' <label class="<%=Backform.controlLabelClassName%>" for="<%=cId%>"><%=label%></label>',
' <label class="<%=controlLabelClassName%>" for="<%=cId%>"><%=label%></label>',
'<% }%>',
'<div class="<%=Backform.controlsClassName%>">',
' <select title="<%=name%>" id="<%=cId%>" class="<%=Backform.controlClassName%> <%=extraClasses.join(\' \')%>"',