Opened 10 years ago
Last modified 9 years ago
#8532 open bug
Sortable: items cannot be changed after init
Reported by: | Nomikos | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.sortable | Version: | 1.8.23 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
One can set/change options on a sortable element after init'ing it, but this doesn't work for the 'items' option. All items remain draggable/sortable after setting it to a class, or element name.
Change History (5)
comment:1 Changed 10 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:2 Changed 10 years ago by
Status: | new → open |
---|---|
Summary: | Sortable option 'items' can not be set/changed using sortable('option', ..) → Sortable: option 'items' can not be set/changed using sortable('option', ..) |
comment:3 Changed 10 years ago by
Summary: | Sortable: option 'items' can not be set/changed using sortable('option', ..) → Sortable: Items cannot be removed with the option method |
---|
comment:4 Changed 9 years ago by
Summary: | Sortable: Items cannot be removed with the option method → Sortable: items cannot be changed after init |
---|
You cannot change the items
option via the option()
method or the refresh()
method. Another test case from #9813.
Note: See
TracTickets for help on using
tickets.
Items can be added using the option method but they cannot be removed. Reduced test case against master: http://jsfiddle.net/tj_vantoll/pjCU9/.