Let change event bubble so it can be caught by parents

This commit is contained in:
nathan 2023-04-19 10:03:54 -06:00
parent 2e570a0343
commit 9e8bc6e1ee

View File

@ -320,7 +320,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
{
if(super._triggerChange(e) && !this._block_change_event)
{
this.dispatchEvent(new Event("change"));
this.dispatchEvent(new Event("change", {bubbles: true}));
}
if(this._block_change_event)
{