Currently there is no way to remove previously set onClick (and other) listeners. Every mature programming API has this ability, and there are thousands of use cases that require such feature.
It’s easy to add to your API, but it’s very hard for advanced programmers to get around this issue.
When listeners are added from code they end up piling up and old ones get called even though they aren’t needed.
For example use case see: Remove onClick event set in code? - Ask the community - Wix Studio Community forum
Add option to remove onClick listener, or at least override old listeners when new ones are assigned
2 Likes
Very few people run into this one, but those are building complex stuff that can’t be done otherwise. Please prioritize.