Create a drag and drop sortable list using Hotwire

preview_player
Показать описание


---

Has this video helped you out? Consider buying me a coffee to say thanks and support future content like this, thanks!

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

Thank you Pete,

Always anticipating for your awesome tutorials.

Thanks

dencam
Автор

Hi Pete,
Hope you're doing well.
Nice straight-to-the-point video as always!
Take care man ✌🏿

TeenaCode
Автор

Thanks Pete. Good stuff! I followed along (with a few minor tweaks to fit my app). Only thing is, sometimes (but not all the time) my list does not persist the drag correctly. Have you ran into this? Not sure how to troubleshoot it further.

sethcox
Автор

How I could save the position to a database, say, for saving an user ordered list? i'd have to have a position field to fill in with the {order :position} value (checked by an update method on the model?) something on these lines?

Thanks for all of your videos, you are one of the best rails teachers I ever had!

max
Автор

Hi Pete! Im a PHP developer, and I would love to see if you can make a introduction to ruby on rails API!

galletacm