I have a problem where my default values are being overwritten by the meteor method call causing an error Cannot read property 'profile' of undefined at Proxy.About.vue.__vue_options__.render (About.vue:47) in the console.
After the error the user is being loaded and I can see the email/fullname in the form. But my dropdown does not work because of the error. If I remove the meteor tag everything works as expected and I can see "default email" and "default fullname" in the form.
So it seems like before my data is loaded my user object is being replaced with undefined. Is there a workaround for this? Thanks
I have a problem where my default values are being overwritten by the meteor method call causing an error
Cannot read property 'profile' of undefined at Proxy.About.vue.__vue_options__.render (About.vue:47)
in the console.My component looks like this:
After the error the user is being loaded and I can see the email/fullname in the form. But my dropdown does not work because of the error. If I remove the meteor tag everything works as expected and I can see "default email" and "default fullname" in the form.
So it seems like before my data is loaded my user object is being replaced with
undefined
. Is there a workaround for this? Thanks