vicious-gold15mo ago

Use modal form to populate an array in the current record

Hello all, I need some help here. I'm trying to implement modal form in a project I'm working on with Refine v4. I followed the tutorial on, however, it seems the form is defaulted to standard CRUD actions, but I intend to use it to populate an array in the current record, I will be grateful if someone can point me right on how to get this done. Many thanks. I'm very new to this though.
4 Replies
kapa.ai15mo ago
Hey @kataiwo2023! I'm the support bot. I've searched through the docs to try to answer your question. :wave:
kapa.ai15mo ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the useModalForm documentation ( and the example source code ( for more information on how to use the useModalForm hook with Mantine. ----------------------
useModalForm | refine
useModalForm hook also allows you to manage a form inside a modal component. It provides some useful methods to handle the form modal.
refine/examples/form-mantine-use-modal-form at master · refinedev/r...
Build your React-based CRUD applications, without constraints. - refine/examples/form-mantine-use-modal-form at master · refinedev/refine
kapa.ai15mo ago
<@1085267315102335057> is still learning and improving, please let us how it did by reacting below
yappiest-sapphire15mo ago
Hey @kataiwo2023, You can directly use Modal of your UI framework. You don't need to use refine hooks if you don't have mutation or query.