Dynamic Table cell content does not like my component

I’m experimenting with UI kit and Dynamic Tables to see how far I can take them.
My goal is to develop a table with rows that allow me to click on a link/button to access another “page”.
I could not add a component to the cell’s content. :face_with_raised_eyebrow:

Do I define the component incorrectly? I created a separate file with my component, as any other would, and immediately had this app rendering issue. The identical component works perfectly outside of the Dynamic table.

P.S. What is the correct way to implement routing with “pure” UI kit? At first glance I could not see how to implement Link and React Router in one app.

Thanks in advance.

If you’re using the UI Kit, you can’t really use custom elements everywhere. The type is defined as accepting Forge elements or strings. So you can’t have other components there (you can have functions that return Forge components). You can also see a guide on routing.

2 Likes

This is a known issue. Jira . You can’t use custom function components even if they return only Forge UIKit components.

You’ve probably moved on but I wanted to add this comment for the next person with the same issue.

It affects me too and makes it difficult to create data driven content in a table cell in a forge app