Bug 1538588 - Correctly initialise attribute inheritance in date picker widgets; r=Fallen

This commit is contained in:
Geoff Lankow 2019-03-27 19:07:01 +13:00
Родитель ae3528a63f
Коммит f64f78c4fa
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -771,6 +771,8 @@ customElements.whenDefined("menulist-editable").then(() => {
attributeFilter: ["value"],
});
this.initializeAttributeInheritance();
this._menulist.addEventListener("change", (event) => {
event.stopPropagation();
@ -925,6 +927,8 @@ customElements.whenDefined("menulist-editable").then(() => {
attributeFilter: ["value"],
});
this.initializeAttributeInheritance();
this._inputField.addEventListener("change", (event) => {
event.stopPropagation();
@ -1054,6 +1058,8 @@ customElements.whenDefined("menulist-editable").then(() => {
this._timepicker.value = this.getAttribute("value");
}
this.initializeAttributeInheritance();
this._datepicker.addEventListener("change", (event) => {
event.stopPropagation();
this.dispatchEvent(new CustomEvent("change", { bubbles: true }));