I finally discovered an outstanding searchable select Vue component, https://github.com/monterail/vue-multiselect .
(我终于发现了一个出色的可搜索select Vue组件https://github.com/monterail/vue-multiselect 。)
The only problem is, if you feed it an array of objects as options, the data binds to the entire object, not just the value.
(唯一的问题是,如果将其作为选项提供给对象数组,则数据将绑定到整个对象,而不仅是值。)
Here is the issue which oddly was created 8 hours before my quest began:
(这是我的任务开始前8小时奇怪地产生的问题:)
https://github.com/monterail/vue-multiselect/issues/263
(https://github.com/monterail/vue-multiselect/issues/263)
I must be missing something.
(我肯定错过了什么。)
Any help greatly appreciated.(任何帮助,不胜感激。)
ask by Bryan translate from so