TerryZ / v-selectmenu

SelectMenu for Vuejs, A simple, easier and highly customized menu solution
https://terryz.github.io/docs-vue/#/selectmenu
MIT License
187 stars 24 forks source link

Query/Search Not Working #1

Closed mlturner88 closed 6 years ago

mlturner88 commented 6 years ago

This is a nice component. Great work! It looks like there is an issue with the query/search functionality, however. As soon as the user begins typing in the query/search field the below exception occurs.

You can check out a small project here I setup which demonstrates the issue. I also noticed the issue is occurring in your "Advanced menu" example.

Uncaught TypeError: Cannot read property 'name' of undefined
    at VueComponent.getRowText (v-selectmenu.js?34fb:1)
    at eval (v-selectmenu.js?34fb:1)
    at Array.filter (<anonymous>)
    at VueComponent.filter (v-selectmenu.js?34fb:1)
    at VueComponent.processKey (v-selectmenu.js?34fb:1)
    at invoker (vue.esm.js?efeb:2027)
    at HTMLInputElement.fn._withTask.fn._withTask (vue.esm.js?efeb:1826)