fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

[Vue warn]: Error in callback for watcher "members" #69

Closed humblecoder closed 5 years ago

humblecoder commented 5 years ago

Receiving a large number of errors, but it's not really clear how to go about debugging. I'm currently attempting to use the @at="handleAt" to retrieve values from the server, but it REALLY doesn't like when empty values are received. I end up getting the following:

[Vue warn]: Error in callback for watcher "members": "TypeError: Cannot read property 'toLowerCase' of undefined"

Please advise.

fritx commented 5 years ago

@humblecoder would I have your error stack?

I guess itemName(item) threw an error 'cause you didn't provide a proper name-key for an item, or there is an undefined in your members array maybe.

humblecoder commented 5 years ago

That was it. My field names were different. Thanks.