Open a modal from a link in an html object

Is there a way in self-hosted retool to open a modal from a link in an html object.

For example I have this html object:

running_task

When the manage link is pressed I'd like to open a modal.

Hey @tcem - it's not possible from an HTML link (although you could do it from a click on the entire HTML element), but you could also build that little callout with pure Retool components, allowing you to use a Retool link, which can open a modal.

Here's a quick video: https://www.loom.com/share/099dacedff6b45db96b442d6eefd9201

I'll attach an app export as well. Let me know if you have any questions!

mini alert.json (17.1 KB)

1 Like

Hii @tcem,

It's not possible from an HTML link as @kent says, but you can use a custom component and open a modal through an HTML link/button.

Below I attach a screenshot may it help you
Using HTML Link :

Using Button :

Feel free to ask if you need further assistance or have additional questions. We're here to help!

1 Like