Update value of date input (#8865)

This commit is contained in:
Bram Kragten
2021-04-09 01:31:46 +02:00
committed by GitHub
parent ba9e410393
commit 21140f437e
2 changed files with 2 additions and 1 deletions

View File

@@ -118,6 +118,8 @@ export class HaDateInput extends LitElement {
!this.value ||
(this._inited && !this._compareStringDates(ev.detail.value, this.value))
) {
this.value = ev.detail.value;
fireEvent(this, "change");
fireEvent(this, "value-changed", { value: ev.detail.value });
}
}