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.

Error Invalid prop: type check failed for prop "onChange". Expected Function, got String.

See original GitHub issue

<v-select :value="selectSelected" :options="selectOptions" :searchable="false" on-change="consoleCallback" placeholder="Sort by ..."> </v-select>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

12reactions
joshua1commented, Apr 2, 2017

Typo still not fixed in docs @sagalbot

8reactions
sagalbotcommented, Mar 12, 2017

You’re missing the semi colon for :on-change. There’s a typo in the docs there that I need to fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Vue warn]: Invalid prop: type check failed for prop "page ...
The root problem is you have defined the type as Number for the prop value but somehow a String is being passed, eventually...
Read more >
type check failed for prop "items". expected array, got string ...
You.com is an ad-free, private search engine that you control. Customize search results with 150 apps alongside web results. Access a zero-trace private ......
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 "value". Expected Boolean, got ...
[Solved]-Invalid prop: type check failed for prop "value". Expected Boolean, got String with value "0"-Vue.js.
Read more >
How to write function of props? - Get Help - Vue Forum
[Vue warn]: Invalid prop: type check failed for prop “onMonthChange”. Expected Function, got String with value “setNewBirthday”. found in … [Vue ...
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