Vue-multiselect: Invalid prop: type check failed for prop "key".

Created on 4 Nov 2016  Â·  8Comments  Â·  Source: shentao/vue-multiselect

The basic example in the documentation doesn't work for me: https://github.com/monterail/vue-multiselect#install--basic-usage

[Vue warn]: Invalid prop: type check failed for prop "key". Expected String, got Boolean. 
(found in component <multiselect>)
[Vue warn]: Invalid prop: type check failed for prop "label". Expected String, got Boolean. 
(found in component <multiselect>)
vue-multiselect.min.js?6cfa:1Uncaught TypeError: this.$options.filters.filterBy is not a function

Not sure what else is needed. I'm assuming it's specific to me as there are no other issues about it, but I can't see anything wrong…

Most helpful comment

@HankBrown Use npm install vue-multiselect@next to install the version that supports Vue 2.0+

All 8 comments

Completely forgot I'm using Vue 2 on this project. Sorry, I see you're already working on it!

You can already use the beta version. npm install vue-multiselect@next.

Beta version is working great, thank you!

Happy to hear that! :)

Great component!Really pleasure to work with

Thank you @yusupprog :)
I just feel bad about prolonging the release of stable 2.0 version.

I am sorry but I have this question too, and the answer makes no sense to me.

@HankBrown Use npm install vue-multiselect@next to install the version that supports Vue 2.0+

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wujekbogdan picture wujekbogdan  Â·  4Comments

volkanciloglu picture volkanciloglu  Â·  3Comments

focussing picture focussing  Â·  3Comments

shsmad picture shsmad  Â·  3Comments

zachleigh picture zachleigh  Â·  3Comments