Skip to content
Snippets Groups Projects
Verified Commit 05b7c903 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix(select): update empty value handling

parent 12bdecee
No related branches found
No related tags found
No related merge requests found
......@@ -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 = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment