thoughtless-moccasinT
Refine3y ago
25 replies
thoughtless-moccasin

Mantine useModal with create and edit

I am implementing Mantine's useModalForm to create a document and it works as expected. However, I have a specific need for my data.
I have an Account document and a Client child document using AppWrite's relationships. I want to create a new Client document and update the Account.client field with the new Client.$id.
Is this possible with refine hooks? Am I going about this the wrong way?
Was this page helpful?