tag field with a separator

Certified Associate Developer

Hi All,

I have got a small question while using a!tagField. I wanted to add 2 tag items separator with a "/".When I use like below, I am getting an error. I tried using concat, & but both didn't work,

Can someone help here.

a!tagField(
labelPosition: "COLLAPSED",
tags: {
concat(
a!tagItem(
text: "t1",
backgroundColor: "#aaa9ad",
textColor: "#ffffff"
),
& "/"&
a!tagItem(
text: "t2",
backgroundColor: "#990099"
)
)
},
size: "STANDARD"
)

  Discussion posts and replies are publicly visible

Parents Reply Children