Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alicanerdurmaz opened this issue Jun 27, 2024 · 0 comments · Fixed by #6074 or #6058
Closed

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

alicanerdurmaz opened this issue Jun 27, 2024 · 0 comments · Fixed by #6074 or #6058
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alicanerdurmaz
Copy link
Member

alicanerdurmaz commented Jun 27, 2024

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 alicanerdurmaz added the bug Something isn't working label Jun 27, 2024
@alicanerdurmaz alicanerdurmaz self-assigned this Jun 27, 2024
@alicanerdurmaz alicanerdurmaz added this to the July Release milestone Jun 27, 2024
@alicanerdurmaz alicanerdurmaz linked a pull request Jun 27, 2024 that will close this issue
5 tasks
@alicanerdurmaz alicanerdurmaz changed the title [BUG]useDrawerForm's submit and form props are not working. [BUG] useDrawerForm's submit and form props are not working. Jun 27, 2024
@BatuhanW BatuhanW linked a pull request Jul 5, 2024 that will close this issue
@BatuhanW BatuhanW closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants