We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a21845 + 4aaf085 commit f8943b3Copy full SHA for f8943b3
src/vue-column-sortable.js
@@ -77,7 +77,7 @@ export default {
77
initialElementStyle(el);
78
vnode.context.$nextTick(()=>{
79
const modifiers = Object.keys(binding.modifiers).join('.');
80
- const sortKey = binding.arg + (modifiers ? `.${modifiers}` : '');
+ const sortKey = (binding.arg || binding.value) + (modifiers ? `.${modifiers}` : '');
81
callBackSortClass = changeSortClass.bind(el, sortKey, vnode, binding.value);
82
el.addEventListener('click', callBackSortClass);
83
})
0 commit comments