diff --git a/src/select/util/helper.ts b/src/select/util/helper.ts index 4d51d493a..09a46b51c 100644 --- a/src/select/util/helper.ts +++ b/src/select/util/helper.ts @@ -202,7 +202,9 @@ export const getSelectedOptions = ( if (multiple) { currentSelectedOptions = isObjectType ? (value as Array) - : tmpPropOptions?.filter?.((v) => (value as Array).includes?.(v[keys?.value || 'value'])); + : tmpPropOptions + ?.filter?.((v) => (value as Array).includes?.(v[keys?.value || 'value'])) + .map((v) => v[keys?.value || 'value']); currentOption = isObjectType ? (value as Array).find((v) => v[keys?.value || 'value'] === selectedValue) : currentSelectedOptions.find((option) => option[keys?.value || 'value'] === selectedValue);