Alternate ways to pop up a modal? (other than modal button)

Hi there,

This might be a quick "not possible" answer, but my question is whether I can invoke a modal from something other than a button. I find myself wanting to use the built-in modal experience but invoked from a text hyperlink or from within a table, map, etc..

If there's a trick to doing it, I'd love to know. If not, I think it could be a great feature.

Thanks,
Scott.

Hey there @scottcressman! We have a tutorial in our documentation outlining all the different ways you can open and use modals: Modal | Retool Component Library

Running modal.open() or modal.close() in a JS query or script event (in an event handler) should do the trick!

From an event handler, you can also control a modal to open/close.