Skip to main content

All Questions

0 votes
2 answers
1k views

How to get the right position with Sortable.js, acts_as_list and Stimulus for nested_attributes

I'm trying to implement the "Drag and Drop Sortable Lists" (https://gorails.com/episodes/rails-drag-and-drop-sortable) with nested_attributes. Unfortunately, I'm getting the wrong :position. ...
Mirha Masala's user avatar