Version: 4.xx.xx
useModalForm
With the useModalForm
hook, you can manage a form inside of your modal component. It returns Ant Design Form and Modal props. You may examine the code below to learn how to create and manage forms within a modal.
Refer to the refine useModalForm hook documentation for more information. →
Run on your local
npm create refine-app@latest -- --example form-antd-use-modal-form