Skip to content

Interesting Reactivity/Model-Binding Issue - Why this is happening? #4442

Answered by ekwoka
hasinhayder asked this question in 1. Help
Discussion options

You must be logged in to vote

Oh, I see. Yeah, so the issue is that the product in this.product is referring to the inner scopes product since this refers to the scope of the expression that calls the function, not the local one to where that method is defined.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hasinhayder
Comment options

Answer selected by hasinhayder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants