#70483Typoscript join for ContentObjectArray (COA)
Description
I didn’t find a good way to do it, so I thought about a new feature:
lib.joinCOA = COA
lib.joinCOA {
join = ,
1 = TEXT
1.value = foo
2 = TEXT
2.value = bar
3 = TEXT
3.value = bas
}
will then result in: foo,bar,bas
I need this to create a Javascript config array where it is not allowed to have a trailing comma. I can also not add the comma with a wrap to each item because each item is optional (with required = 1).
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.