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 6ae79bb53e
commit 3738284a39

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)
{