Skip to content

Commit

Permalink
Merge pull request #32590 from ATM-Consulting/FIX_v19_labelSelect2Nor…
Browse files Browse the repository at this point in the history
…ecordFound

FIX select 2 no record found translate
  • Loading branch information
eldy authored Jan 10, 2025
2 parents 81a4eec + 3737f3c commit 8a7fdd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/core/class/html.form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8890,7 +8890,8 @@ public static function multiselectarray($htmlname, $array, $selected = array(),
escapeMarkup: function (markup) { return markup; }, // let our custom formatter work
// Specify format function for selected item
formatSelection: formatSelection,
templateSelection: formatSelection /* For 4.0 */
templateSelection: formatSelection, /* For 4.0 */
language: select2arrayoflanguage
});
/* Add also morecss to the css .select2 that is after the #htmlname, for component that are show dynamically after load, because select2 set
Expand Down

0 comments on commit 8a7fdd0

Please sign in to comment.