I use admin-on-rest. I made a custom toolbar for the user data edit page. How inside this toolbar to get access to user data?
Asked
Active
Viewed 41 times
1
-
Please add some code that you tried. – Root Nov 12 '18 at 14:36
1 Answers
0
You can use redux-form selectors to retrieve either the full form or only some fields.
For that, you'll have to make your custom toolbar a connected component using redux connect
and call the selectors from your mapStateToProps
function.

Gildas Garcia
- 6,966
- 3
- 15
- 29