I’m trying to find a field that returns a structure similar to the image below:
Any suggestion?
I’m trying to find a field that returns a structure similar to the image below:
Any suggestion?
Use the field type Set
and check the “Allow multiple values” checkbox. In the field options add two text fields (question, answer).
Add ${data.question}
to the display option to have a preview in the list later.
You use cockpit v1 and @artur talks about cockpit v2. I think, the best fit would be a set, nested in a repeater. But the core repeater produces different data schemas in some circumstances (can’t remember correctly).
I wrote a custom field a while ago to fix that behavior: