rniemeyer / knockout-sortable

A Knockout.js binding to connect observableArrays with jQuery UI sortable functionality
MIT License
547 stars 128 forks source link

Allow draggable data to be a falsy value #120

Closed j201 closed 9 years ago

j201 commented 9 years ago

When the draggable data is falsy, it gets replaced by the value of the binding. This caused an issue for me when I was using $index() as the data, since 0 is falsy.

rniemeyer commented 9 years ago

Looks like the right choice. Thanks!