Re: Create a Button Component that has a property for OnSelect
@Anonymous
Right...because you are trying to do a behavior statement in a text field. You can't do that!
There is no current way to create an Action on a Component. You can handle actions within the component, but the component cannot interact with items outside of the component. Your component can change properties within it (output parameters), and you can set properties from outside it (input parameters), but you do not currently have an Action parameter. So there is no way for it to "raise" an action where you could put a behavior formula like you have.
Again...vote for this in the ideas forum.
This would be the only way you could do that. Otherwise, you have to do some seriously clunky methods inside of your hosting screen to "monitor" the values of the parameters and act on them if they change - sounds easy enough, but it's a nightmare and, at the end of the day, it would have been easier to just maintain the "component" as separate controls rather than make a component.
Go vote!!