@homecode/ui 4.27.24 → 4.27.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -237,7 +237,6 @@ function Select2(props) {
|
|
|
237
237
|
const className = cn(S.option, isGroupHeader && S.isGroup, isFocused && S.isFocused, isSelected && S.isSelected, S[`level-${level}`], optionClassName);
|
|
238
238
|
const optionProps = {
|
|
239
239
|
className,
|
|
240
|
-
key: id,
|
|
241
240
|
onPointerUp: () => onItemToggle(id),
|
|
242
241
|
onPointerEnter: () => onOptionHover(id),
|
|
243
242
|
};
|
|
@@ -248,7 +247,7 @@ function Select2(props) {
|
|
|
248
247
|
isFirstSelectedMeet.current = true;
|
|
249
248
|
}
|
|
250
249
|
if (filterOption(item)) {
|
|
251
|
-
items.unshift(jsx("div", { ...optionProps, children: renderLabel(item) }));
|
|
250
|
+
items.unshift(jsx("div", { ...optionProps, children: renderLabel(item) }, id));
|
|
252
251
|
}
|
|
253
252
|
return items;
|
|
254
253
|
};
|