I have a button component to perform different actions using the context menu, but have encountered a problem with calling custom methods on the same component. Editor version is 8.1.25 (b2023021409)
To open the menu on the button, I use the following option:
Then I want to call "customMethod" without any parameters from one of the context menu options (also on the button). I also tried with "self.customMethod" in the name property:
The method "customMethod" is defined on the button: