Skip to content

Data binding updates aren't reflected inside textareas #1109

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

Closed
jackmcdade opened this issue Aug 1, 2015 · 1 comment
Closed

Data binding updates aren't reflected inside textareas #1109

jackmcdade opened this issue Aug 1, 2015 · 1 comment

Comments

@jackmcdade
Copy link

If i put the same tag inside <pre> and <textarea> tags, the former will stay in sync with 2-way data bindings but the latter doesn't budge. Fiddle: https://jsfiddle.net/df4fxhqy/11/

@cheapsteak
Copy link
Contributor

FWIW, it does work if you bind to the text area's "value" property instead, i.e.

<textarea v-attr="value: $eval('rows | json')>

https://jsfiddle.net/xd6dms73/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants