Discussions
Subfield access for text widget
12 months ago by Dave F
Hello,
I'm trying to create a text widget for my gorgias integration and I've got the following data:
{ "top": { "subField": { "name": "test" } } }
I'm trying to figure out how to show this as a text field like:
{ "type": "text", path: "top.subField.name", "title": "Name" }
Is there a way that I can do that?
I'd like to not have something like { "type": "card", "path": "top", "widgets": [{"type": "card", "path": "subField", "widgets": [{ "type": "text", "path": "name", title: "Name" }]
}] in a naive way, but if I can make the cards somehow not appear then that would be alright.
Thank you!