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