Skip to content
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

Is there a way to get the current text value? #41

Closed
rap2hpoutre opened this issue Feb 28, 2018 · 2 comments
Closed

Is there a way to get the current text value? #41

rap2hpoutre opened this issue Feb 28, 2018 · 2 comments
Labels

Comments

@rap2hpoutre
Copy link

rap2hpoutre commented Feb 28, 2018

Assuming my code is:

<at-ta :members="members" :filter-match="filterMatch">
  <textarea class="editor" v-text="content"></textarea>
</at-ta>

It seems the text value does not change when I type. Is there a way to get the current value of the textarea?

@fritx
Copy link
Owner

fritx commented Mar 1, 2018

@rap2hpoutre you had to use v-model("two-way" binding) instead of v-text(one way), as you expected, however, vue-at doesn't support v-model quite well, related: #22 (comment), #38

@fritx
Copy link
Owner

fritx commented Mar 4, 2018

@rap2hpoutre PR #38 is in progress, textarea could support v-model soon.

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

No branches or pull requests

2 participants