@yoobic/yobi 8.2.0-40 → 8.2.0-41
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.
|
@@ -292,7 +292,7 @@ const YooFormDateTimeComponent = class {
|
|
|
292
292
|
if (this.isTimeInput(this.type)) {
|
|
293
293
|
formInputHelpers.setValueAndValidateInput(this.currentTime, this);
|
|
294
294
|
}
|
|
295
|
-
else if ((this.isSchedule && (!index$1.isNativeMobile() || index$1.isAndroid())) ||
|
|
295
|
+
else if ((this.isSchedule && (!index$1.isNativeMobile() || index$1.isAndroid())) || this.isDateTimeInput(this.type)) {
|
|
296
296
|
// Here we simply increment/decrement time to avoid changing dates
|
|
297
297
|
const updatedValue = this.updateTimeValue(this.value, this.currentTime);
|
|
298
298
|
formInputHelpers.setValueAndValidateInput(formInputHelpers.convertValueForInputType(updatedValue, this.type, this.useISOString), this);
|
|
@@ -278,7 +278,7 @@ export class YooFormDateTimeComponent {
|
|
|
278
278
|
if (this.isTimeInput(this.type)) {
|
|
279
279
|
setValueAndValidateInput(this.currentTime, this);
|
|
280
280
|
}
|
|
281
|
-
else if ((this.isSchedule && (!isNativeMobile() || isAndroid())) ||
|
|
281
|
+
else if ((this.isSchedule && (!isNativeMobile() || isAndroid())) || this.isDateTimeInput(this.type)) {
|
|
282
282
|
// Here we simply increment/decrement time to avoid changing dates
|
|
283
283
|
const updatedValue = this.updateTimeValue(this.value, this.currentTime);
|
|
284
284
|
setValueAndValidateInput(convertValueForInputType(updatedValue, this.type, this.useISOString), this);
|
|
@@ -288,7 +288,7 @@ const YooFormDateTimeComponent = class {
|
|
|
288
288
|
if (this.isTimeInput(this.type)) {
|
|
289
289
|
setValueAndValidateInput(this.currentTime, this);
|
|
290
290
|
}
|
|
291
|
-
else if ((this.isSchedule && (!isNativeMobile() || isAndroid())) ||
|
|
291
|
+
else if ((this.isSchedule && (!isNativeMobile() || isAndroid())) || this.isDateTimeInput(this.type)) {
|
|
292
292
|
// Here we simply increment/decrement time to avoid changing dates
|
|
293
293
|
const updatedValue = this.updateTimeValue(this.value, this.currentTime);
|
|
294
294
|
setValueAndValidateInput(convertValueForInputType(updatedValue, this.type, this.useISOString), this);
|
|
@@ -288,7 +288,7 @@ const YooFormDateTimeComponent = class {
|
|
|
288
288
|
if (this.isTimeInput(this.type)) {
|
|
289
289
|
setValueAndValidateInput(this.currentTime, this);
|
|
290
290
|
}
|
|
291
|
-
else if ((this.isSchedule && (!isNativeMobile() || isAndroid())) ||
|
|
291
|
+
else if ((this.isSchedule && (!isNativeMobile() || isAndroid())) || this.isDateTimeInput(this.type)) {
|
|
292
292
|
// Here we simply increment/decrement time to avoid changing dates
|
|
293
293
|
const updatedValue = this.updateTimeValue(this.value, this.currentTime);
|
|
294
294
|
setValueAndValidateInput(convertValueForInputType(updatedValue, this.type, this.useISOString), this);
|