Is it possible to show two unrelated texts in a single table column?

I have user.username and user.roles.name. Two different columns. Both are text columns where roles.name is list separated badge text column. Is there anyway to show these in stack in single column. I used Split and Stack layout but it is not applicable. I need a normal table with these two column stack at each other like this: test_username [admin] Where admin is a badge.
4 Replies
DrByte
DrByte6mo ago
and/or may get some adaptable ideas from exploring how listWithLineBreaks() is implemented: https://filamentphp.com/docs/3.x/tables/columns/text#listing-multiple-values
Pulpsting0610
Pulpsting06106mo ago
Gotta look under the vendor folder again🤣
DrByte
DrByte6mo ago
Lots of goodies in there! 😄