Trigger a requestUpdate when setting widget_id in order to get attribute ID updates available for inherited widgets. (e.g. ET2Button=>requestUpdate)

This commit is contained in:
Hadi Nategh 2022-01-24 12:49:59 +01:00
parent dd1d62512f
commit 282c01f62e

View File

@ -308,6 +308,7 @@ const Et2WidgetMixin = (superClass) =>
dom_id = path.join("_");
}
this.setAttribute("id", dom_id);
this.requestUpdate("id");
}
/**