@xqmsg/ui-core 0.24.8 → 0.24.9

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.
@@ -1575,6 +1575,7 @@ var StackedMultiSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2,
1575
1575
  width: "0",
1576
1576
  autoComplete: "off",
1577
1577
  type: "text",
1578
+ ref: inputRef,
1578
1579
  tabIndex: -1,
1579
1580
  _focus: {
1580
1581
  boxShadow: 'none !important'
@@ -1596,7 +1597,6 @@ var StackedMultiSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2,
1596
1597
  optionIndex: optionIndex,
1597
1598
  loading: loadingOptions
1598
1599
  }, /*#__PURE__*/React__default.createElement(react.Input, {
1599
- ref: inputRef,
1600
1600
  value: searchValue,
1601
1601
  onChange: handleInput,
1602
1602
  disabled: loadingOptions
@@ -1948,10 +1948,6 @@ function Input(_ref) {
1948
1948
  loadingOptions = _ref$loadingOptions === void 0 ? false : _ref$loadingOptions,
1949
1949
  truncatePillLength = _ref.truncatePillLength;
1950
1950
  function selectedInputField(onChange, onBlur, ref, value) {
1951
- if (inputType === 'text') {
1952
- console.log(errorText);
1953
- console.log(isInvalid);
1954
- }
1955
1951
  switch (inputType) {
1956
1952
  case 'text':
1957
1953
  return /*#__PURE__*/React__default.createElement(StackedInput, {
@@ -1972,9 +1968,7 @@ function Input(_ref) {
1972
1968
  defaultValue: defaultValue,
1973
1969
  value: value,
1974
1970
  variant: variant,
1975
- label: label,
1976
- setError: setError,
1977
- clearErrors: clearErrors
1971
+ label: label
1978
1972
  });
1979
1973
  case 'radio':
1980
1974
  return /*#__PURE__*/React__default.createElement(StackedRadioGroup, {
@@ -2001,8 +1995,6 @@ function Input(_ref) {
2001
1995
  onBlur: onBlur,
2002
1996
  setValue: setValue,
2003
1997
  control: control,
2004
- setError: setError,
2005
- clearErrors: clearErrors,
2006
1998
  ref: ref,
2007
1999
  disabled: disabled,
2008
2000
  value: value,
@@ -2126,7 +2118,7 @@ function Input(_ref) {
2126
2118
  tooltipText: tooltipText,
2127
2119
  label: label,
2128
2120
  isRequired: isRequired
2129
- }), selectedInputField(onChange ? onChange : fieldOnChange, onBlur, ref, value), isInvalid && /*#__PURE__*/React__default.createElement(react.FormErrorMessage, null, errorText), helperText && /*#__PURE__*/React__default.createElement(react.FormHelperText, null, helperText), errorText, " ", isInvalid == null ? void 0 : isInvalid.toString());
2121
+ }), selectedInputField(onChange ? onChange : fieldOnChange, onBlur, ref, value), isInvalid && /*#__PURE__*/React__default.createElement(react.FormErrorMessage, null, errorText), helperText && /*#__PURE__*/React__default.createElement(react.FormHelperText, null, helperText));
2130
2122
  }
2131
2123
  });
2132
2124
  }