From d75d2b1b00110330565b4b1e0fea44600f3a7b06 Mon Sep 17 00:00:00 2001 From: Kyrylo Hrishchenko Date: Wed, 18 Sep 2024 22:10:32 +0300 Subject: [PATCH] fix(MultiSelect): remove optionLabel from check to fix getting input value --- components/lib/multiselect/MultiSelect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/multiselect/MultiSelect.js b/components/lib/multiselect/MultiSelect.js index 42df0efaa1..365b93724f 100644 --- a/components/lib/multiselect/MultiSelect.js +++ b/components/lib/multiselect/MultiSelect.js @@ -1022,7 +1022,7 @@ export const MultiSelect = React.memo( }; const getInputValue = (value = []) => { - if (props.optionLabel && Array.isArray(value)) { + if (Array.isArray(value)) { return value.map((val) => getLabelByValue(val)).join(', '); }