refine icon indicating copy to clipboard operation
refine copied to clipboard

[BUG] `useDrawerForm`'s `submit` and `form` props are not working.

Open alicanerdurmaz opened this issue 1 year ago • 0 comments

Describe the bug

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.

Steps To Reproduce

useDrawerForm prop types file path: https://github.com/refinedev/refine/blob/master/packages/antd/src/hooks/form/useDrawerForm/useDrawerForm.ts#L23

Expected behavior

useDrawerForm shouldn't have these fields.

Packages

  • @refinedev/antd

Additional Context

No response

alicanerdurmaz avatar Jun 27 '24 09:06 alicanerdurmaz