question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid prop: type check failed for prop "key".

See original GitHub issue

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…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
shentaocommented, May 28, 2017

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

3reactions
yusupprogcommented, Nov 20, 2016

Great component!Really pleasure to work with

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid prop: type check failed for prop - Stack Overflow
js but I am having trouble showing the values I am getting. I have two components and I have read the single file...
Read more >
[SOLVED] [Vue warn]: Invalid prop: type check failed for prop
The get would just return the prop value and the set would emit the event. If you're using the . number modifier on...
Read more >
[Vue warn]: Invalid prop: type check failed for prop ... - GitHub
The following warning will be thrown if I select an item from the dropdown. [Vue warn]: Invalid prop: type check failed for prop...
Read more >
type check failed for prop "data". Expected Object, got Array
I'm using laravel-vue-pagination getting this error Invalid prop: type check failed for prop "data". Expected Object, got Array. code is. Copy Code
Read more >
type check failed for prop disabled. expected boolean, got ...
The problem is that you're setting the disabled prop to a function, instead of to the results of that function. :disabled="getFileExtention" (adding quotes) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found