HTML and custom component - strange behaviour with a link (<a>) in the HTML

Glad it worked. Yes if you have multiple items with the same class name it will impact all of them the way it is currently written. TB.render() is just causing the function inside of itself to run when the specified component has loaded. It is not causing it to only impact that component. If you want all objects with the same class to open the same link then this would work. If you want them all to open to separate fixed links you can give them each unique class names or use the parent divs to reference specific ones (I would recommend the first as you did). If you want them to open to “dynamic links” (links based on the record being displayed) you would need to add the record id to then end of your url.

Here is a really good post on an alternative method Standalone Button for Add Record Popup Modal - Showcase - Tadabase Community.

1 Like