Trevor SullivanT
Windmillโ€ข3y agoโ€ข
5 replies
Trevor Sullivan

Invoke Multiple Event Handlers From Button Click

Right now it's only possible to map a single event handler (script, inline script, or flow) from a Windmill app event (ie. button click). This feels a little restrictive to me. It would be awesome if multiple actions could be invoked from a handler, in parallel.

This might be possible from a Flow, with a Run All Branches step, but it would feel more "native" to handle it directly from the designer UI.

As far as capturing results from multiple handlers ... each handler could have a "name" property to register the results under separately. Instead of accessing button.result, you could access button.result.handler1 or button.result.handler2 to get the results from each handler separately.

Any thoughts on this?
Was this page helpful?