-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vue-devtools] QSelect - _this.model.includes is not a function #273
Comments
Thanks! |
I mean - I try to click on the components tree on QSelect. |
Can't reproduce. Can you provide a repo? Fork app-default-template. Thx. |
Extensively tested. Can't reproduce. Maybe a misuse somewhere? Please reopen with a repo where it can be reproduced. Thanks! |
I think the problem is that Vue DevTools tries to access the computed properties of the component when it's rendered, and this code throws an error because this.model is not an array when type is list or radio.
The code should return false when this.model is not array |
@pdanpdan Fixed in edge version & available in next Quasar version (v0.13) to be released very soon. |
I just checked with the latest edge and the error is still there. |
@pdanpdan When type is list or radio, optModel computed property is not, well, computed. So please check again your model. |
I know it's not used, but it's defined and inspector tools try to compute it. |
@pdanpdan Hmm, Vue devtools tries to show any props and computed props related to the selected component and as a result it forces Vue to compute all "computed" properties. In a non vue-devtool use-case, |
:) Fixed and working as expected, thank you very much. |
Hi,
getting this
_this.model.includes is not a function
orCannot read property of 'includes' of null
It happens when I try to access QSelect in Vue-devtools. If I don't - Select is working properly, but if I will try that, it will not work until refresh
The text was updated successfully, but these errors were encountered: