@widergy/energy-ui 3.17.0 → 3.17.1
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.17.1](https://github.com/widergy/energy-ui/compare/v3.17.0...v3.17.1) (2024-08-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix id crash ([#479](https://github.com/widergy/energy-ui/issues/479)) ([d360edd](https://github.com/widergy/energy-ui/commit/d360eddd9919a3349ea5728e348e91b8d1b77872))
|
|
7
|
+
|
|
1
8
|
# [3.17.0](https://github.com/widergy/energy-ui/compare/v3.16.5...v3.17.0) (2024-08-21)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -110,7 +110,7 @@ class UTTextInput extends _react.PureComponent {
|
|
|
110
110
|
}) : adornment;
|
|
111
111
|
const value = inputObjectKey ? input.value[inputObjectKey] : input.value;
|
|
112
112
|
const errorMessage = (0, _form.shouldShowErrors)(meta) && meta.error || captionLabel || '';
|
|
113
|
-
const fieldId = field
|
|
113
|
+
const fieldId = id || field?.id ? `${id || field.id}` : undefined;
|
|
114
114
|
const TextInput = /*#__PURE__*/_react.default.createElement(_TextField.default, _extends({
|
|
115
115
|
id: fieldId,
|
|
116
116
|
placeholder: placeholder,
|