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
Why don't you use another tag item , rather that concatenate?
a!tagField( labelPosition: "COLLAPSED", tags: { /*concat(*/ a!tagItem( text: "t1", backgroundColor: "#aaa9ad", textColor: "#ffffff" ), a!tagItem( text: "/", backgroundColor: "#FFFFFF" ),
a!tagItem( text: "t2", backgroundColor: "#990099" ) /*)*/ }, size: "STANDARD")
Thanks David, I tried this but missed the background color to keep as white