How to use useSelect and useUpdate at the same time ? #39
Unanswered
francoisdtm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I would like to fetch a user's profile using the
useSelect
hook, and then setting text fields accordingly. This part is pretty simple. I would also want to edit those text fields; and update all values when a button is pressed. For this part, I guess I need to use theuseUpdate
hook. My question is: how to make this possible ? I manage to render values correctly, but I cannot manage to make the text fields editable.Here is a simple code that explains the problem:
Thanks in advance,
Beta Was this translation helpful? Give feedback.
All reactions