@@ -73,7 +88,10 @@ const Select = ({
{data.map((val, i) => {
const optLabel =
- (options.find(opt => opt.value === val) || {}).label || "";
+ (theOptions.find(opt => isOptionEqualToValue
+ ? isOptionEqualToValue(opt.value, val)
+ : isOptionEqualToValueDefault(opt.value, val)
+ ) || {}).label || "";
return (
handleOptionDeleted(i)}