Answer the question
In order to leave comments, you need to log in
Why does Vue see properties that start with '_' as undefined?
I have an option computed property in computed, but for convenience I need to make it a static duplicate of the _option I defined in data.
But for some reason, when trying to work with this._option, vue sees it as undefined, although it is an object.
Why is that?
Answer the question
In order to leave comments, you need to log in
https://github.com/vuejs/vue/issues/2098
https://jsfiddle.net/yarkov_aleksei/vpuq9wb4/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question