@geotab/zenith 3.9.0-beta.2 → 3.9.0-beta.3
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.
|
@@ -116,12 +116,15 @@ const DateInputInnerControlBlock = props => {
|
|
|
116
116
|
value: timePickerValue,
|
|
117
117
|
onChange: timeChangeHandler,
|
|
118
118
|
isMobileView: isMobileView,
|
|
119
|
-
fullWidth: true
|
|
119
|
+
fullWidth: true,
|
|
120
|
+
// eslint-disable-next-line
|
|
121
|
+
// @ts-ignore
|
|
122
|
+
dataTimeId: id
|
|
120
123
|
}), isHasTimeError ? (0, jsx_runtime_1.jsx)(formFieldError_1.FormFieldError, {
|
|
121
124
|
id: timeErrorId,
|
|
122
125
|
error: translate("The time must be set")
|
|
123
126
|
}) : null]
|
|
124
|
-
}) : null, [isActiveField, isHasTimeError,
|
|
127
|
+
}) : null, [selectTime, isActiveField, isHasTimeError, timePickerValue, timeChangeHandler, isMobileView, id, timeErrorId, translate]);
|
|
125
128
|
return (0, jsx_runtime_1.jsxs)("div", {
|
|
126
129
|
className: (0, classNames_1.classNames)(["zen-date-input-inner__control-block", className || ""]),
|
|
127
130
|
children: [title ? (0, jsx_runtime_1.jsx)("label", {
|
|
@@ -108,12 +108,15 @@ export const DateInputInnerControlBlock = props => {
|
|
|
108
108
|
value: timePickerValue,
|
|
109
109
|
onChange: timeChangeHandler,
|
|
110
110
|
isMobileView: isMobileView,
|
|
111
|
-
fullWidth: true
|
|
111
|
+
fullWidth: true,
|
|
112
|
+
// eslint-disable-next-line
|
|
113
|
+
// @ts-ignore
|
|
114
|
+
dataTimeId: id
|
|
112
115
|
}), isHasTimeError ? _jsx(FormFieldError, {
|
|
113
116
|
id: timeErrorId,
|
|
114
117
|
error: translate("The time must be set")
|
|
115
118
|
}) : null]
|
|
116
|
-
}) : null, [isActiveField, isHasTimeError,
|
|
119
|
+
}) : null, [selectTime, isActiveField, isHasTimeError, timePickerValue, timeChangeHandler, isMobileView, id, timeErrorId, translate]);
|
|
117
120
|
return _jsxs("div", {
|
|
118
121
|
className: classNames(["zen-date-input-inner__control-block", className || ""]),
|
|
119
122
|
children: [title ? _jsx("label", {
|