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

Confirm does not show dialogue box #75

Open
cyrilbensonyu opened this issue Oct 20, 2020 · 12 comments
Open

Confirm does not show dialogue box #75

cyrilbensonyu opened this issue Oct 20, 2020 · 12 comments

Comments

@cyrilbensonyu
Copy link

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).

@nilsE
Copy link

nilsE commented Dec 6, 2020

...same here. confim() works on the detail form, but not on index (nova 3.16.3)

@RomkaLTU
Copy link

RomkaLTU commented Dec 9, 2020

It works but only on the last entry, seems JS bug.

@OthmanAlseagh
Copy link

@dillingham did you solve this issue

i have the same

when i use confirm() , only the last button can be clickable

@dalmarcolucas
Copy link

same problem here, only the last button show the confirm dialog.

@piteurstudioislam
Copy link

did you solve the problem

@cyrilbensonyu
Copy link
Author

@piteurstudioislam Yes, I forked this repo and created my own package just to fix the bug.

@piteurstudioislam
Copy link

can yopu give it to me

@piteurstudioislam
Copy link

@cyrilbensonyu cAN YOU GIVE The package

@cyrilbensonyu
Copy link
Author

sorry, I did not made it public

@piteurstudioislam
Copy link

Did you mad it now @cyrilbensonyu

@stardothosting
Copy link

stardothosting commented Aug 11, 2021

@cyrilbensonyu would love it if you could share your fix - this is an open source project and lots of people depend on it.

@stardothosting
Copy link

@piteurstudioislam The fix in another thread referencing a forked pull request worked for me : qikker-online@dc98470

dnwjn added a commit to dnwjn/nova-button that referenced this issue Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants