-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
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
Compiling bindings inside a v-model directive #176
Comments
Also interesting thing I noticed. If you inspect the broken textarea the correct values are there, but to us they are still showing the double curly braces? O_O |
This is an interesting issue and neat use of Vue. I tried getting it to work by breaking it into a component: http://jsfiddle.net/obsoleter/6ZX3C/3/ But it has the same issue. I think it has to do with some textarea idiosyncrasies. The correct value you see in the inspector is, I think, the |
This awful hack of
|
fixed in 5872bf3 |
Brandon's original example is working for me with that commit, but this one is not: http://jsfiddle.net/obsoleter/6ZX3C/3/ Should it? I see |
The content inside a textarea is parsed as a |
That clarifies it. Thank you! |
I would like to use some of my VM data inside a v-model directive. As an example:
http://jsfiddle.net/6ZX3C/1/
The second textarea is my desired result but as you can see it does not have a v-model directive on it. Is there a workaround or better way to approach this? Also interestingly enough it works fine for the input box, the textarea is the one not compiling correctly.
Thanks!
The text was updated successfully, but these errors were encountered: