Using Select2 (multiple selections) with vue.js
问题 I'm new to vue and have followed their 'custom directive' at http://vuejs.org/examples/select2.html. This works well when only selecting one item, but when you're selecting multiple items it only passes the first one. I need it to pass all values selected. I have a jsfiddle set up displaying the code which is available here. https://jsfiddle.net/f3kd6f14/1/ The directive is as below; Vue.directive('select', { twoWay: true, priority: 1000, params: ['options'], bind: function() { var self =