-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[FEAT] useModalForm Expose a SetAction for RefineCoreProps #6451
Comments
Hey @aress31, thank you for reporting this! Currently the |
I only need the basic functionality from |
We are open to contributions for this issue from the community. |
@aliemir it could be better to have a general/all-purposeful prop like |
Hello @aress31 would you like to work on this? |
Kindly assign someone else. |
Is your feature request related to a problem? Please describe.
Could you implement a setAction function to programmatically change the action after the modal has been initialized? For example:
Describe alternatives you've considered
No response
Additional context
No response
Describe the thing to improve
I need to change the action based on the button pressed, either "create" or "edit," since the same FormComponent will be used for both.
The text was updated successfully, but these errors were encountered: