-
Notifications
You must be signed in to change notification settings - Fork 33
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
Only last added button is working on latest nova version (v2.4.0) #50
Comments
Can you provide some code to examine |
Sure. Button::make('Approve', 'inquiry-approve')
->style('primary-outline')
->confirm('Are you sure?')
->visible($this->status == 'pending'),
Button::make('Decline', 'inquiry-decline')
->style('danger-outline')
->confirm('Are you sure?')
->visible($this->status == 'pending'), "Approve" button is not working, "Decline" is. If I remove "Decline", "Approve" works. |
More details: if I remove the "confirm", both buttons are working. |
Confirming that this issue exists on Laravel Nova v2.5. Only the last button of the last row can be clicked when using confirm(). |
Confirming that this issue exists on Nova 2.6.1
the confirm dialog does not show, except for the last row in the index list. |
People are welcome to contribute a solution. I'll review |
Tried to find a solution, but my Vue-skills are not good enough ;-) |
I updated to v2.8.0 today. Same thing is still happening. |
I have same issue in 2.8.0 |
and still the same issue in 2.9.2 - could you please fix this? |
Any updates on this? I tried to find a solution but couldnt. My js skills are not good as well :( |
@dillingham Please review the pull request, thanks :) |
What's the current state of this issue? It seems I have the same problem on an app I'm building. |
When I add more than one button, only the last added button will work. Clicking on other buttons have no effect. There is no error in console nor an xhr request will be fired.
The text was updated successfully, but these errors were encountered: