Hi all,
Is there any advised way to get the JSON form data using the path object that is passed around in the ControlProps?
I.e. something like data.get(path) where path is something like path.to.5.my.2.object.name
Thanks,
James
Hi all,
Is there any advised way to get the JSON form data using the path object that is passed around in the ControlProps?
I.e. something like data.get(path) where path is something like path.to.5.my.2.object.name
Thanks,
James
Hi @james-morris, you can simply use lodash’s get
to resolve the data with this path, e.g. const resolvedData = get(rootData, path);