I know the tags are a user input, but is there a way you can use them to DISPLAY tags from a dataset?
My site will display a repeater which contains information about trades people, and link to their profiles. I want each item in the repeater to display a unique set of tags.
I’ll be entering the tags manually in the “profession” dataset. Then id like to show those tags on a page inside a repeater. Each professional will have their own unique set of tags.
Heres the dataset which provides data for the repeater
and heres the page with the repeater
My problem is: I want to keep that tag design and display the tags from the dataset in each item on the repeater.
Whats a good solution for this?
Thanks!
See Yoav’s answer in this thread . A nice solution.
Thanks @yisrael-wix , I have tried this but I get an error “html does not exist on #tags”
@bill24563 What kind of element is #tags? I tried this with a Text element and it works great.
@yisrael-wix #tags was a tag selection user input element, I have just tried with a text element
heres the live results:
How can I get this to look like the tag user input tag element? I want to get the design similar to this:

You’ll have to play with the HTML in the code. Change the font size, padding, etc.
@yisrael-wix Im getting closer to the desired result with this code
export function repeater1_itemReady($item, itemData, index) {
let tags = itemData.skills;
let tagsHtml = tags.map(tag =>
`<span style="background: #459fed;
border-radius: 20px;
padding: 6px;
line-height: 40px;
color: #fff;
font-size: 14px">${tag}</span>`)
.join(' ');
$item('#tags').html = tagsHtml;}
for some reason, it doesn’t split each tag in to its own container. Is there a way to split each tag?
Thank you for your help!
@bill24563
Try something like this to split them:
let tags =itemData.skills.split(',');
@yisrael-wix
Thank you, I’ve got the results I was after!
Is this supposed to replace the original “let tags” line? That’s what I tried, but the HTML doesn’t work at all if I do that for some reason.