Open alicanerdurmaz opened 3 days ago
The useDrawerForm prop types extend the UseFormConfig type from "sunflower-antd," which includes the submit and form fields, but useDrawerForm does not use these fields.
useDrawerForm
UseFormConfig
submit
form
useDrawerForm prop types file path: https://github.com/refinedev/refine/blob/master/packages/antd/src/hooks/form/useDrawerForm/useDrawerForm.ts#L23
useDrawerForm shouldn't have these fields.
No response
Describe the bug
The
useDrawerForm
prop types extend theUseFormConfig
type from "sunflower-antd," which includes thesubmit
andform
fields, butuseDrawerForm
does not use these fields.Steps To Reproduce
useDrawerForm
prop types file path: https://github.com/refinedev/refine/blob/master/packages/antd/src/hooks/form/useDrawerForm/useDrawerForm.ts#L23Expected behavior
useDrawerForm
shouldn't have these fields.Packages
Additional Context
No response