v2.0.0-beta13 - Cannot read property 'isLabel' when tab out.
See original GitHub issueSo far everything appears to be working, but when I tab out of the multiselect I get the following in the console. It doesn’t appear if I click out of the multiselect, only on tab out.
vue-multiselect.min.js?6cfa:1 Uncaught TypeError: Cannot read property 'isLabel' of undefined
at VueComponent.addPointerElement (eval at <anonymous> (app.js:803), <anonymous>:1:7053)
at Proxy.boundFn (eval at <anonymous> (app.js:948), <anonymous>:130:14)
at Array.eval (eval at <anonymous> (app.js:803), <anonymous>:1:18096)
at HTMLInputElement.eval (eval at <anonymous> (app.js:948), <anonymous>:2214:22)
My component:
<multiselect v-model="value"
:options="options"
:multiple="true"
:close-on-select="false"
:hide-selected="true"
placeholder="Add Additional Members">
</multiselect>
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Interesting! Thanks for letting me know! Will try to fix this early January.
Think this may have introduced a different issue. I was wondering why the “isLabel” error had gone but is replaced by
TypeError: Cannot read property ‘id’ of null at http://localhost:8080/app.js:47334:3556 at Array.map (native) at VueComponent.valueKeys (http://localhost:8080/app.js:47334:3532)
I see valueKeys does a map on internalValue which in turn uses this.value in data(), value also has a watcher which does a deepClone on it. When value=null this is going to cause an issue because we’ve not got [null] as the value. If I get a chance I’ll put together a quick PR