I want to put JsonForms inside of the widget, and when saving it, I would like to extract state from the component.
Right now the only feasible way to do it, as far as I see, is provide the onChange function handler, that will receive object with data and errors on every change, and store it in the state of parent component.
Are there any one-off actions that I can use, to get the data only when I actually request it (for e.g. once I’ve finished editting the whole form) ?
I’m looking into the source code and nothing has caught my eye yet.
@lilyh thanks a lot, but it seems to be a different case. Example passes state from Redux store inside of the component as a prop. Please correct me if I’m wrong.
I want to get data of the form that lives inside JsonForms outside of the component. So I want to lift state up from the JsonForms to the parent component, and for example send it to the