Using Stimulus to Show a Delete Confirmation Dialog

preview_player
Показать описание
If you’ve switched to the latest version of Rails that uses Turbo, you might have noticed that it doesn’t show the confirmation dialog when you delete an item. This post explains how to display a delete confirmation dialog using Stimulus.

For more details, please check out my post:

Hope you find it useful.

Regards,
Akshay

---
Рекомендации по теме
Комментарии
Автор

ty, first time i finally understand the setup of a stimulus controller!!!

EnjoytheMents
Автор

You should seriously consider make a Rail 7 course which just not deals with the how but also why, something that explains Under the Hood working of things.

This would be a boon for lost developers.

You are a born teacher. Many people don't know how good they are. Someone needs to tell them, so here I am telling you: You are have an inate talet to put thing across, Realize it, Leverage It🙏

siyaram