You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
since june 17th 2021 you can't trigger the change event in delegated events.
For instance
$('body').on('change', '#sumoselect', function(){console.log('changed');}); not working
while
$('#sumoselect').on('change', function(){console.log('changed');}) works
now, I fixed the latest version by changing callChange () { this.E.get().forEach(e => { dispatchEvent(e, 'change'); dispatchEvent(e, 'click'); }); },
Hi,
since june 17th 2021 you can't trigger the change event in delegated events.
For instance
$('body').on('change', '#sumoselect', function(){console.log('changed');}); not working
while
$('#sumoselect').on('change', function(){console.log('changed');}) works
now, I fixed the latest version by changing
callChange () { this.E.get().forEach(e => { dispatchEvent(e, 'change'); dispatchEvent(e, 'click'); }); },
to
callChange () { this.E.trigger('change').trigger('click'); },
as it was in june 11th 2021.
Why was that change done? Maybe there was a reason I don't know
thanks
The text was updated successfully, but these errors were encountered: