From e49e82457f6c2e3d6617b85f75fd1a65248e2cf5 Mon Sep 17 00:00:00 2001 From: Kyrylo Hrishchenko Date: Wed, 18 Sep 2024 22:14:39 +0300 Subject: [PATCH] fix(MultiSelect): remove optionLabel from check to fix getting input value (#7216) --- 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 3157ddd02e..13af0e83b6 100644 --- a/components/lib/multiselect/MultiSelect.js +++ b/components/lib/multiselect/MultiSelect.js @@ -1024,7 +1024,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(', '); }