-
Notifications
You must be signed in to change notification settings - Fork 150
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 warn]: Error in callback for watcher "options": "TypeError: Cannot read property 'update' of undefined" #121
Comments
Thank you for reporting your issue. |
@Billusuryaputra ey, have you figured out? i am facing a similar problem. thks! |
@andrescellini @Denyllon I figured out! :) As @Billusuryaputra hasn't been able to reproduce the problem, I tried to do by myself, because this issue happened to me as well while doing a dynamic selector of charts. This is my best reproduction of the issue. Is not verbatim from my project's code, as mine is more complex (with Vuex state management among other stuff), but it reproduces the same situation. I added some other charts to isolate a bit the cause of the problem which is on the Reproduction of the issue on CodeSandbox (Check console on chart 3) This seems to happen when chart is of type For some reason (haven't gone that deep), the component breaks on the |
Your issue @zedee sounds like bug in Highcharts v8.1.1 and v8.1.2, see: highcharts/highcharts#13710 (will be fixed in the next release). v8.1.0 works fine: https://codesandbox.io/s/elegant-wu-150cp?file=/package.json |
Oh nice @pawelfus ! Thanks, we will downgrade meanwhile :) This issue can be closed. |
I have same issue with datatable :( |
Please, provide live demo :) We will check it |
I use watcher {immediate: true} with options (v-data-table) then got this message: |
Hi @jounger , As Paweł mentioned above, we need to investigate the problem on any live demo, so could you provide us with it? Kind regards! |
I can reproduce using if i add event
|
Hi @hemanth-sp , The code snippet you pasted above is probably not enough to get the error, because it does not update anything. Could you provide me with the demo example, where the error would be caught in the console? |
Hello, i am new vue Highchart. I got the problem "[Vue warn]: Error in callback for watcher "options": "TypeError: Cannot read property 'update' of undefined". I used data form Vue Store then i pass it through props to my Highchart component.
That problem appears when i go back to my page that use Highchart. It seems the data on the options is not cleared when i go access my page again. Is there any Highchart method/ properties that i need to clear every time i go back to my page?
Thank You,
The text was updated successfully, but these errors were encountered: