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.

[Vue warn]: Error in getter for watcher "filteredOptions": (found in <VSelect>)

See original GitHub issue

Using this component ^2.2.0 I’m getting in the console:

[Vue warn]: Error in getter for watcher "filteredOptions": (found in <VSelect>)

and

TypeError: e.toLowerCase is not a function
    at eval (eval at <anonymous>...)
    at Array.filter (native)
    at VueComponent.filteredOptions
<template>
    <v-select
        class="input-select"
        :options="options"
        v-model="value"
        :searchable="searchable"
        :placeholder="placeholder"
        :on-change="onSelect">
    </v-select>
</template>

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
sagalbotcommented, Apr 21, 2017

Thanks, will fix this in the next release. It’s only when using an array of integers.

2reactions
gthuocommented, Jun 12, 2018

Thanks, will fix this in the next release. It’s only when using an array of integers. For me it appeared when I had an array of objects, not just a flat list of integers. But on further debugging, i realised it happened because the first object in that list had something like {id: 1, name: null} (name was null). Took me too long to realize that. Anyhow, @sagalbot has this issue been fixed yet, as @azzic is saying it is still there?

Read more comments on GitHub >

github_iconTop Results From Across the Web

vue.js - How to use v-select but not repeat itself while using v-for
Typically I use a computed property. new Vue({ el:"#app", data:{ groupsData: groups, selected:[] }, computed:{ selectOptions(){ return this.
Read more >
Using .vue component files *Warning: Total Noob* - Get Help
As it stands, I get an error Multiselect is not defined from the Index.html ... (found in component <v-select>) warn @ vue.js:525 assertProp ......
Read more >
A brand new website interface for an even better experience!
[Vue warn]: Error in getter for watcher "filteredOptions": (found in )
Read more >
vue-select Error in getter for watcher "filteredOptions ...
Error in getter for watcher “filteredOptions”: “TypeError: e[t.label].toLowerCase is n. 下面的是vue-select的相关信息. <v-select ...
Read more >
type check failed for prop "options". expected array, got object ...
error massege: [Vue warn]: Invalid prop: type check failed for prop “options”. Expected String with value “[object]”, got Object. Favicon for you ...
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