fix Et2Date.set_value('') did not clear

This commit is contained in:
ralf 2022-03-16 23:21:15 +02:00
parent b9cca9c5ff
commit ee36e83cbb

View File

@ -377,6 +377,7 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(ValidateMixin(LitFl
{
value = "";
this.modelValue = "";
this.clear();
return;
}
// Handle timezone offset, flatpickr uses local time