nova-button
nova-button copied to clipboard
Confirm does not show dialogue box
Button::make('Archive', 'user-archive') ->style('danger-outline') ->confirm('Are you sure you want to archive this user?') ->reload(),
I'm using this line of code and confirm dialogue does not show up whenever I click the button. I'm using the latest Laravel Nova version (3.12).
...same here. confim() works on the detail form, but not on index (nova 3.16.3)
It works but only on the last entry, seems JS bug.
@dillingham did you solve this issue
i have the same
when i use confirm() , only the last button can be clickable
same problem here, only the last button show the confirm dialog.
did you solve the problem
@piteurstudioislam Yes, I forked this repo and created my own package just to fix the bug.
can yopu give it to me
@cyrilbensonyu cAN YOU GIVE The package
sorry, I did not made it public
Did you mad it now @cyrilbensonyu
@cyrilbensonyu would love it if you could share your fix - this is an open source project and lots of people depend on it.
@piteurstudioislam The fix in another thread referencing a forked pull request worked for me : https://github.com/qikker-online/nova-button/commit/dc984708eecbaa887d4455828135912114cf8b41