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>
After further experimentation this only occurs when options is provided with a flat array [5,10,30]. An array of objects (label/value) does not produce any errors.
Thanks, will fix this in the next release. It's only when using an array of integers.
Related to #190.
Is there any fix for this issue as it is still there?
One often wants to pass an array of integers to a select box using just the array values (ie not the indexes). I am using [email protected].
@omarjebari it does not look like there's a fix yet. Just tested in 2.4.0 and it breaks.
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?
Most helpful comment
Thanks, will fix this in the next release. It's only when using an array of integers.