diff --git a/templates/base/components/dashlet/dashlet-plain-text.html.twig b/templates/base/components/dashlet/dashlet-plain-text.html.twig
index db22646fc..061331d6b 100644
--- a/templates/base/components/dashlet/dashlet-plain-text.html.twig
+++ b/templates/base/components/dashlet/dashlet-plain-text.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
diff --git a/templates/base/components/dashlet/layout.html.twig b/templates/base/components/dashlet/layout.html.twig
index d1cab3696..8cfe046bf 100644
--- a/templates/base/components/dashlet/layout.html.twig
+++ b/templates/base/components/dashlet/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
diff --git a/templates/base/components/datatable/layout.ready.js.twig b/templates/base/components/datatable/layout.ready.js.twig
index 9250ef84c..2851f4a0d 100644
--- a/templates/base/components/datatable/layout.ready.js.twig
+++ b/templates/base/components/datatable/layout.ready.js.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% set sListId = oUIBlock.GetOption('sListId') %}
{% set sListIDForVarSuffix = ('' ~ sListId)|sanitize(constant('utils::ENUM_SANITIZATION_FILTER_VARIABLE_NAME')) %}
diff --git a/templates/base/components/datatable/row-actions/handler.js.twig b/templates/base/components/datatable/row-actions/handler.js.twig
index 56c0811f9..bb68ff17a 100644
--- a/templates/base/components/datatable/row-actions/handler.js.twig
+++ b/templates/base/components/datatable/row-actions/handler.js.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
// for each row action...
diff --git a/templates/base/components/datatable/static/formtable/layout.html.twig b/templates/base/components/datatable/static/formtable/layout.html.twig
index b3d5a1316..288c66294 100644
--- a/templates/base/components/datatable/static/formtable/layout.html.twig
+++ b/templates/base/components/datatable/static/formtable/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
diff --git a/templates/base/components/datatable/static/formtablerow/layout.html.twig b/templates/base/components/datatable/static/formtablerow/layout.html.twig
index 057c68644..8f2d81753 100644
--- a/templates/base/components/datatable/static/formtablerow/layout.html.twig
+++ b/templates/base/components/datatable/static/formtablerow/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{{ oUIBlock.GetLabel() |raw }}
\ No newline at end of file
diff --git a/templates/base/components/input/select/select.html.twig b/templates/base/components/input/select/select.html.twig
index 2b24d5626..eee09e48b 100644
--- a/templates/base/components/input/select/select.html.twig
+++ b/templates/base/components/input/select/select.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% block iboInput %}
{% if oUIBlock.HasLabel() and oUIBlock.IsLabelBefore() %}
diff --git a/templates/base/components/input/select/selectoption.html.twig b/templates/base/components/input/select/selectoption.html.twig
index 10ebc0130..fe3c2fef9 100644
--- a/templates/base/components/input/select/selectoption.html.twig
+++ b/templates/base/components/input/select/selectoption.html.twig
@@ -1,3 +1,3 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
diff --git a/templates/base/components/input/set/layout.html.twig b/templates/base/components/input/set/layout.html.twig
index 9e8eb2690..1492bc744 100644
--- a/templates/base/components/input/set/layout.html.twig
+++ b/templates/base/components/input/set/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{# Set ui block #}
diff --git a/templates/base/components/input/set/layout.ready.js.twig b/templates/base/components/input/set/layout.ready.js.twig
index b93829107..7a102cb21 100644
--- a/templates/base/components/input/set/layout.ready.js.twig
+++ b/templates/base/components/input/set/layout.ready.js.twig
@@ -1,5 +1,5 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{# SET WIDGET #}
@@ -54,7 +54,8 @@ let oWidget{{ oUIBlock.GetId() }} = $('#{{ oUIBlock.GetId() }}').selectize({
{% if oUIBlock.GetMinItems() is not empty %}
'combodo_min_items' : {
minItems: {{ oUIBlock.GetMinItems() }},
- errorMessage: '{{ 'UI:Component:Input:Set:MinimumItems'|dict_format(oUIBlock.GetMinItems()) }}'
+ errorTitle: '{{ 'UI:Component:Input:ChangeNotAllowed'|dict_s()|escape('js') }}',
+ errorMessage: '{{ 'UI:Component:Input:Set:MinimumItems'|dict_format(oUIBlock.GetMinItems())|escape('js') }}'
},
{% endif %}
},
@@ -131,7 +132,9 @@ let oWidget{{ oUIBlock.GetId() }} = $('#{{ oUIBlock.GetId() }}').selectize({
// Add merged values
callback(options);
// Restore input value
- me.addItems(aSelectedItems, true);
+ aSelectedItems.forEach(function(item) {
+ me.addItem(item, true);
+ });
}
});
},
diff --git a/templates/base/components/input/set/regular_option_renderer.html.twig b/templates/base/components/input/set/regular_option_renderer.html.twig
index 64d2e7754..0913996ed 100644
--- a/templates/base/components/input/set/regular_option_renderer.html.twig
+++ b/templates/base/components/input/set/regular_option_renderer.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
diff --git a/templates/base/components/input/set/simple_option_renderer.html.twig b/templates/base/components/input/set/simple_option_renderer.html.twig
index 08a2f57bc..c2884b1a8 100644
--- a/templates/base/components/input/set/simple_option_renderer.html.twig
+++ b/templates/base/components/input/set/simple_option_renderer.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
diff --git a/templates/base/components/medallion-icon/layout.html.twig b/templates/base/components/medallion-icon/layout.html.twig
index de01214aa..1f274c054 100644
--- a/templates/base/components/medallion-icon/layout.html.twig
+++ b/templates/base/components/medallion-icon/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
diff --git a/templates/base/components/panel/layout.html.twig b/templates/base/components/panel/layout.html.twig
index 305e68fd6..392ea308e 100644
--- a/templates/base/components/panel/layout.html.twig
+++ b/templates/base/components/panel/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
diff --git a/templates/base/components/text/layout.html.twig b/templates/base/components/text/layout.html.twig
index dc19447c3..4d55ae3af 100644
--- a/templates/base/components/text/layout.html.twig
+++ b/templates/base/components/text/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
{{ oUIBlock.GetText() }}
diff --git a/templates/base/components/toolbar/layout.html.twig b/templates/base/components/toolbar/layout.html.twig
index 3d4a4cc70..18ad86924 100644
--- a/templates/base/components/toolbar/layout.html.twig
+++ b/templates/base/components/toolbar/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{# Toolbar #}
{% apply spaceless %}
diff --git a/templates/base/components/toolbar/separator/vertical-separator/layout.html.twig b/templates/base/components/toolbar/separator/vertical-separator/layout.html.twig
index 7e74fecd4..02598e34b 100644
--- a/templates/base/components/toolbar/separator/vertical-separator/layout.html.twig
+++ b/templates/base/components/toolbar/separator/vertical-separator/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
diff --git a/templates/base/layouts/content-block/layout.html.twig b/templates/base/layouts/content-block/layout.html.twig
index 0b66a4f45..6fd18f76d 100644
--- a/templates/base/layouts/content-block/layout.html.twig
+++ b/templates/base/layouts/content-block/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{# Content Block #}
{% apply spaceless %}
diff --git a/templates/base/layouts/dashboard/column/layout.html.twig b/templates/base/layouts/dashboard/column/layout.html.twig
index 16906d6a3..376d9ebdc 100644
--- a/templates/base/layouts/dashboard/column/layout.html.twig
+++ b/templates/base/layouts/dashboard/column/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{# Dashboard Column #}
{% apply spaceless %}
diff --git a/templates/base/layouts/dashboard/layout.html.twig b/templates/base/layouts/dashboard/layout.html.twig
index f119150f0..b61727439 100644
--- a/templates/base/layouts/dashboard/layout.html.twig
+++ b/templates/base/layouts/dashboard/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{# Dashboard Layout #}
{% apply spaceless %}
diff --git a/templates/base/layouts/dashboard/row/layout.html.twig b/templates/base/layouts/dashboard/row/layout.html.twig
index 9d119e5fd..7340fa1de 100644
--- a/templates/base/layouts/dashboard/row/layout.html.twig
+++ b/templates/base/layouts/dashboard/row/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{# Dashboard Row #}
{% apply spaceless %}
diff --git a/templates/base/layouts/multi-column/column/layout.html.twig b/templates/base/layouts/multi-column/column/layout.html.twig
index 71b387222..3231ed14e 100644
--- a/templates/base/layouts/multi-column/column/layout.html.twig
+++ b/templates/base/layouts/multi-column/column/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
diff --git a/templates/base/layouts/multi-column/layout.html.twig b/templates/base/layouts/multi-column/layout.html.twig
index 685227b43..1c15e049d 100644
--- a/templates/base/layouts/multi-column/layout.html.twig
+++ b/templates/base/layouts/multi-column/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
diff --git a/templates/base/layouts/object/object-details/layout.html.twig b/templates/base/layouts/object/object-details/layout.html.twig
index 05b20f7b2..fc214e6ea 100644
--- a/templates/base/layouts/object/object-details/layout.html.twig
+++ b/templates/base/layouts/object/object-details/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% extends 'base/components/panel/layout.html.twig' %}
diff --git a/templates/base/layouts/object/object-details/layout.js.twig b/templates/base/layouts/object/object-details/layout.js.twig
index 62c71956f..2e91fce13 100644
--- a/templates/base/layouts/object/object-details/layout.js.twig
+++ b/templates/base/layouts/object/object-details/layout.js.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% extends 'base/components/panel/layout.js.twig' %}
diff --git a/templates/base/layouts/object/object-summary/layout.html.twig b/templates/base/layouts/object/object-summary/layout.html.twig
index e0c317328..9fa3d0836 100644
--- a/templates/base/layouts/object/object-summary/layout.html.twig
+++ b/templates/base/layouts/object/object-summary/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% extends 'base/layouts/object/object-details/layout.html.twig' %}
diff --git a/templates/base/layouts/page-content/with-side-content.ready.js.twig b/templates/base/layouts/page-content/with-side-content.ready.js.twig
index 04d82d938..4a48353fe 100644
--- a/templates/base/layouts/page-content/with-side-content.ready.js.twig
+++ b/templates/base/layouts/page-content/with-side-content.ready.js.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% if aPage.isPrintable %}
oHiddeableChapters['ibo-side-content'] = '{{ 'UI:Layout:ActivityPanel:Tab:Activity:Title'|dict_s }}';
diff --git a/templates/base/layouts/tab-container/layout.html.twig b/templates/base/layouts/tab-container/layout.html.twig
index 3fce699f3..e56d92bf4 100644
--- a/templates/base/layouts/tab-container/layout.html.twig
+++ b/templates/base/layouts/tab-container/layout.html.twig
@@ -1,4 +1,4 @@
-{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
+{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}