Country / Company updates

This commit is contained in:
Mark Gregory
2026-07-07 10:08:15 +01:00
parent bfc2e136a2
commit 346cd2af1e
14 changed files with 2474 additions and 19 deletions
+2 -1
View File
@@ -167,7 +167,7 @@ function initialiseSelect2() {
return;
}
$('[data-helpdesk-select2]').each(function () {
$('[data-helpdesk-select2], [data-wms-select2]').each(function () {
const $select = $(this);
if ($select.hasClass('select2-hidden-accessible')) {
@@ -182,6 +182,7 @@ function initialiseSelect2() {
closeOnSelect: !isMultiple,
dropdownAutoWidth: true,
placeholder:
$select.data('placeholder') ||
$select.find('option[value=""]').first().text() ||
(isMultiple ? 'Select options' : 'Select option'),
});