dry-scarletD
Refine3y ago
5 replies
dry-scarlet

After execution getOne in provider, useForm not update the data

Hello everyone, i create a form and i used the hook useUpdate, after the mutation finish, the list show the correct data, but when i edit a register, the useForm show me the previous data.
I debugger the getOne method in provider and the data are correctly, but the useForm formProps.initialValues and queryResult?.data?.data still show me previous data.

Any suggestion? Please i need help
Was this page helpful?