@hexure/ui 1.13.80 → 1.13.82

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/cjs/index.js CHANGED
@@ -4098,7 +4098,7 @@ const Field = (_a) => {
4098
4098
  action ? (React.createElement(Action, { "data-itemid": `${baseId}-action`, onClick: action.onClick }, action.label)) : null),
4099
4099
  description ? (React.createElement(Description, { "data-itemid": `${baseId}-description` }, description)) : null,
4100
4100
  React.createElement("div", { "data-itemid": `${baseId}-children` }, children),
4101
- React.createElement(Validation, { className: 'field-validation-wrapper', "data-itemid": `${baseId}-validation`, title: validationText }, validationText && isNewMessageType
4101
+ React.createElement(Validation, { className: 'field-validation-wrapper', "data-itemid": `${baseId}-validation${validationText ? '' : '-empty'}`, title: validationText }, validationText && isNewMessageType
4102
4102
  ? MessageWrapper(validationText)
4103
4103
  : validationText || '\u00A0')));
4104
4104
  };
@@ -5298,7 +5298,7 @@ const Input$1 = (_a) => {
5298
5298
  React.useEffect(() => {
5299
5299
  setInternalValue(value);
5300
5300
  setInternalSuggestedValues(suggestedValues || []);
5301
- if (value === null || value === void 0 ? void 0 : value.length) {
5301
+ if ((value === null || value === void 0 ? void 0 : value.length) && !isAutoComplete) {
5302
5302
  const newSuggestions = (suggestedValues || []).filter(s => s.toLowerCase().includes(value.toLowerCase()));
5303
5303
  setInternalSuggestedValues(newSuggestions);
5304
5304
  }