Subfield access for text widget


Ask a Question
Back to All

Subfield access for text widget


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: "", "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!