@evergis/uilib-gl 1.0.85 → 1.0.87

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.
@@ -18116,7 +18116,7 @@ const MenuComponent = _ref => {
18116
18116
  const renderChildren = useMemo(() => {
18117
18117
  if (!children || multiple) return null; // options passed as children
18118
18118
 
18119
- return Children.toArray(children).map(item => {
18119
+ return Children.toArray(children).map((item, itemIndex) => {
18120
18120
  const {
18121
18121
  text,
18122
18122
  value,
@@ -18127,7 +18127,7 @@ const MenuComponent = _ref => {
18127
18127
  disabled
18128
18128
  } = item.props;
18129
18129
  return React.createElement(OptionContainer, {
18130
- key: `child-${value || text || synthKey}`,
18130
+ key: `child-${value || text || synthKey || itemIndex}`,
18131
18131
  nullable: value === null,
18132
18132
  className: className,
18133
18133
  onClick: onClick,