Modal is opening on twice click #13825
Unanswered
zeeshantariq08
asked this question in
Help
Replies: 2 comments 13 replies
-
I got the same problem, the modal action only appears on the second click. Is there any solution for this? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Actions
Package Version
v3.0.0
How can we help you?
i have to show modal before saving the information , so i have added the requireConfirmation , so the modal is appearing on twice clicking the button
Action Button:
``
public function publishAction(): Action
{
return Action::make('publish')
->requiresConfirmation()
->modalHeading('Do you want to request?')
->modalDescription('')
->afterFormFilled(function () {
}
``
Beta Was this translation helpful? Give feedback.
All reactions