diff --git a/source/components/form/select.mjs b/source/components/form/select.mjs index 50e56e2d3c6e43f1ba6382661703a344cd89b2f4..d77ba607300295f87731facaf8a05aec0b19863d 100644 --- a/source/components/form/select.mjs +++ b/source/components/form/select.mjs @@ -2290,12 +2290,13 @@ function isValueIsEmptyThenGetNormalize(value) { function setSelection(selection) { const self = this; + selection = isValueIsEmptyThenGetNormalize.call(this, selection); + if (isString(selection) || isInteger(selection)) { const result = convertValueToSelection.call(this, selection); selection = result?.selection; } - selection = isValueIsEmptyThenGetNormalize.call(this, selection); validateArray(selection); let resultSelection = [];