You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now if I use the JSON view components and put source="info.tree" it doesn't work as the component looks for record[source]. The React Admin native fields and inputs use lodash to resolve nested location:
import get from 'lodash/get';
...
const value = get(record, source);
Could you incorporate this into the field and input?
The text was updated successfully, but these errors were encountered:
I have a nested object in my record, like this:
Now if I use the JSON view components and put
source="info.tree"
it doesn't work as the component looks forrecord[source]
. The React Admin native fields and inputs use lodash to resolve nested location:Could you incorporate this into the field and input?
The text was updated successfully, but these errors were encountered: