Mutation Mode

Hello i am calling a edit url like http://localhost:3000/financialplans/edit/20 20 is an invalid ID. The Server responds with 403. However refine loads a blank form see screenshot. Is it possible to set this to pessimistic? If yes can you please point me in the right direction. Thank you
No description
No description
A
afraid-scarlet468d ago
Hey @zomh, You can use ‘useForm’ property that ‘mutationMode’. You can check out this doc: https://refine.dev/docs/api-reference/core/hooks/useForm/#mutationmode
useForm | refine
useForm is a hook that allows to manage forms. It has some action methods that create, edit and clone the form. The hook return value comes to according to the called action and it can run different logic depending on the action.
D
deep-jade468d ago
Thank you