@deviceinsight/ng-ui-components 7.12.0 → 7.13.0

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.
package/dist/index.cjs CHANGED
@@ -1619,7 +1619,7 @@ class SelectWithSearch extends React.Component {
1619
1619
  isLoading: loading,
1620
1620
  menuPortalTarget: this.portalRoot,
1621
1621
  isDisabled: disabled,
1622
- formatOptionLabel: dataTestId ? (option) => /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `${dataTestId}-option-${lodash.kebabCase(option.label)}`, children: option.label }) : void 0,
1622
+ formatOptionLabel: dataTestId ? (option) => /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `${dataTestId}-option-${option.label}`, children: option.label }) : void 0,
1623
1623
  onBlur: () => {
1624
1624
  if (this.props.freeForm && this.state.inputValue !== null) {
1625
1625
  this.setState({ options: this.props.options });
@@ -2783,7 +2783,7 @@ class SelectWithSearchAsync extends React.Component {
2783
2783
  isDisabled: disabled,
2784
2784
  menuPortalTarget,
2785
2785
  placeholder: this.props.placeholder,
2786
- formatOptionLabel: dataTestId ? (option) => /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `${dataTestId}-option-${lodash.kebabCase(option.label)}`, children: option.label }) : void 0
2786
+ formatOptionLabel: dataTestId ? (option) => /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `${dataTestId}-option-${option.label}`, children: option.label }) : void 0
2787
2787
  }
2788
2788
  );
2789
2789
  }