Problem updating user information in an edit modal
Answered
Morelet’s Crocodile posted this in #help-forum
Morelet’s CrocodileOP
Hello !
I'm trying to edit a user in a modal in my next application when I click on a "Menu Element", but only the information for the first person in the list is displayed. I think it's a modal refresh problem, but I don't know how to fix it. Could you help me?
Thanks in advance! 🙂
I'm trying to edit a user in a modal in my next application when I click on a "Menu Element", but only the information for the first person in the list is displayed. I think it's a modal refresh problem, but I don't know how to fix it. Could you help me?
Thanks in advance! 🙂
Answered by Morelet’s Crocodile
I've got it! Just use usestates to update the modal
2 Replies
Morelet’s CrocodileOP
I forgot to mention: I use DaisyUI for my modal
Morelet’s CrocodileOP
I've got it! Just use usestates to update the modal
Answer