We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6f4aa4 commit 2a0eb4bCopy full SHA for 2a0eb4b
playbook/app/pb_kits/playbook/pb_list/list.html.erb
@@ -1,5 +1,5 @@
1
<% if object.enable_drag %>
2
- <%= pb_rails("draggable", props: {initial_items: items}) do %>
+ <%= pb_rails("draggable", props: {initial_items: object.items}) do %>
3
<%= pb_rails("draggable/draggable_container") do %>
4
<%= content_tag(:div, class: object.list_classname) do %>
5
<%= content_tag(:"#{object.ordered_class}",
0 commit comments