mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Et2Date: Fix incorrect validation error for empty dates on mobile
This commit is contained in:
parent
09560a325a
commit
7d71246ff0
@ -660,9 +660,9 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(LitFlatpickr))
|
||||
{
|
||||
return flatpickr.formatDate(<Date>this.defaultDate, this.getOptions().dateFormat);
|
||||
}
|
||||
if(typeof egwIsMobile == "function" && egwIsMobile())
|
||||
if(typeof egwIsMobile == "function" && egwIsMobile() && this._inputNode?.value)
|
||||
{
|
||||
return this._inputNode?.value + "Z" || "";
|
||||
return this._inputNode?.value + "Z";
|
||||
}
|
||||
return this._inputNode?.value || '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user