@true-engineering/true-react-common-ui-kit 3.37.0 → 3.38.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.
@@ -11766,6 +11766,9 @@
11766
11766
  onBlur
11767
11767
  ]);
11768
11768
  var handleListOpen = function() {
11769
+ if (isReadonly) {
11770
+ return;
11771
+ }
11769
11772
  if (!isListOpen) {
11770
11773
  setIsListOpen(true);
11771
11774
  if (!(dropdownOptions === null || dropdownOptions === void 0 ? void 0 : dropdownOptions.shouldUsePopper)) {
@@ -12073,7 +12076,7 @@
12073
12076
  children: [
12074
12077
  /* @__PURE__ */ jsxs("div", {
12075
12078
  className: clsx(classes.inputWrapper, isDisabled && classes.disabled),
12076
- onClick: isDisabled ? void 0 : handleOnClick,
12079
+ onClick: isDisabled || isReadonly ? void 0 : handleOnClick,
12077
12080
  ref: inputWrapper,
12078
12081
  children: [
12079
12082
  /* @__PURE__ */ jsx(Input, _object_spread$G({