Goal: Configure āThrottleā as the delay behaviour in a Split Button componentās event handler
Steps to reproduce:
- Add a Split Button component to your canvas
- Configure your button options
- Go into a button option
- Add an event handler, e.g. click to trigger XYZ query
- Click āDebounceā to bring up the dropdown
- Click āThrottleā
Behaviour:
- Expectation:-
- Delay mode is switched to āThrottleā and you can continue configuring the event handler
- Reality:-
- Event handler and Action configuration is closed
- Your change to āThrottleā is not saved
Other comments:
- The āButtonā and āToggle Buttonā components types behave as expected.
- I would have attached a gif of the problem but the uploader complained it was larger than 10MB despite file being only 3.14MB (maybe it doesnāt like pie
). So hereās a link instead: brave Vzp8ec Fvz2 hosted at ImgBB ā ImgBB - I tried using the AI assist as a workaround to modify the button but it failed:
I canāt directly āflipā those existing <Event ⦠waitType="debounce"> actions on @splitButton2 to waitType="throttle" using the Retool editing tools available in this environment.
Why I canāt do it (what Iām seeing in the app)
In src/tabbedContainer14.rsx, each SplitButton option uses Retoolās legacy declarative Event blocks, e.g.:
<Event ⦠method="trigger" pluginId="refresh_all" ⦠waitType="debounce" waitMs="30000" />
Those are not the same thing as the JavaScript event handlers managed by the event-handler tooling here (which can only add/edit/remove handlerScript, and doesnāt expose waitType / waitMs for these āactionā events).
So there isnāt a tool call I can make that safely edits just waitType on those action events.
