impaktapps-ui-builder 1.0.235 → 1.0.237
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.
|
@@ -12139,7 +12139,9 @@ const DateTime = {
|
|
|
12139
12139
|
const buildDate = (config2, componentScope2) => {
|
|
12140
12140
|
const dateInputField = _.cloneDeep(DateInputField);
|
|
12141
12141
|
dateInputField.config.main.label = config2.label;
|
|
12142
|
-
|
|
12142
|
+
if (config2.errorMessage) {
|
|
12143
|
+
dateInputField.config.main.errorMessage = config2.errorMessage;
|
|
12144
|
+
}
|
|
12143
12145
|
dateInputField.scope = componentScope2;
|
|
12144
12146
|
if (config2.layout) {
|
|
12145
12147
|
dateInputField.config.layout = createLayoutFormat(config2.layout);
|
|
@@ -12161,8 +12163,8 @@ const buildDate = (config2, componentScope2) => {
|
|
|
12161
12163
|
const buildDateTime = (config2, componentScope2) => {
|
|
12162
12164
|
const dateTimeInputField = _.cloneDeep(DateTime);
|
|
12163
12165
|
dateTimeInputField.config.main.label = config2.label;
|
|
12164
|
-
if (
|
|
12165
|
-
dateTimeInputField.config.main.errorMessage =
|
|
12166
|
+
if (config2.errorMessage) {
|
|
12167
|
+
dateTimeInputField.config.main.errorMessage = config2.errorMessage;
|
|
12166
12168
|
}
|
|
12167
12169
|
dateTimeInputField.scope = componentScope2;
|
|
12168
12170
|
if (config2.layout) {
|