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

TextArea not working #147

Open
sirsquall opened this issue Feb 21, 2019 · 1 comment
Open

TextArea not working #147

sirsquall opened this issue Feb 21, 2019 · 1 comment

Comments

@sirsquall
Copy link

sirsquall commented Feb 21, 2019

Hi,

I'm using the handleAt function to do a call to retrieve the suggestion, this is working well because I have the mention appearing, but I don't know why, when I hit "enter" or if I click on the suggestion nothing occur, and I have this error in the console:
error

this is my code:
<at-ta :hover-select="false" v-model="message" :members="members" @at="handleAt"> <v-textarea :placeholder="placeholder" :error=!!errors.message :error-messages=errors.message ></v-textarea> </at-ta>

I tried the version 2.4 and the version and same result, the data is not updated in the text area.

Thank you,
Alcindo

@sirsquall
Copy link
Author

I found the issue, in the textarea we need to bind the value like that:
<at-ta :hover-select="false" v-model="message" :members="members" @at="handleAt"> <v-textarea :value="message" :placeholder="placeholder" :error=!!errors.message :error-messages=errors.message ></v-textarea> </at-ta>

But now I have one remaining issue, if someone can help me, is the keydown enter didn't work.

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

1 participant