Ability to run JS in input controls


Maybe the possibility to run js as an action with in the buttons in this block? Ive been making my own buttons for a while now before i noticed this block in the dashboard

A lot of my buttons make request to outside services and/or do something upon the return of the results. So being able to do that in the buttons “designed” for the dashboard would be helpful!

Thanks for the suggestion. What you’re asking for is tricky, though, as we’d be executing arbitrary user code in the same scope as the rest of the application - as compared to a Custom HTML Block, which is run in its own sandboxed iframe so we can allow code exection. I’d recommend recreating your input controls UI within such a block.

1 Like