-
Hi, The Delete button needs confirmation alert modal. Otherwise, rows can get deleted by accident. Is there any standard method to create a Delete Conformation Modal? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hi @OCRAMIS, I think the best way to proceed is using another Livewire component to perform the confirmation for you. Your @luanfreitasdev recently added an example calling a modal in the demo repository https://github.com/Power-Components/powergrid-demo. It is not the complete solution, but I hope it helps. |
Beta Was this translation helpful? Give feedback.
-
Hi @dansysanalyst, Thank you for your response and marvellous support for the great repo. I did follow the instructions as per @luanfreitasdev. Users component: ( I go to the edit page Instead of deleting it on the users.index page )
/users/edit.blade.php ( I use a for with CSRF ) - This works alright although you need to go to the edit page first )
In fact what I would like to achieve now is the following. And would appreciate any suggestions. a) Kind Regards. |
Beta Was this translation helpful? Give feedback.
-
Hi @luanfreitasdev, Thank you very much for your excellent ( I have no other better words to explain ) support for this great repo. Stay Blessed! Best Regards. |
Beta Was this translation helpful? Give feedback.
-
Hi @luanfreitasdev , |
Beta Was this translation helpful? Give feedback.
Hi @luanfreitasdev,
Thank you very much for your excellent ( I have no other better words to explain ) support for this great repo.
I have tested the demo and it works perfect.
Now with this feature PowerGrid repo can be developed as a livewire admin panel.
I am working on it for my own projects.
Will let you know if I come across any other issues/requests.
Stay Blessed!
Best Regards.