Open gusMoreno opened 5 years ago
@gusMoreno try v-model on , see
readme: https://github.com/fritx/vue-at#using-v-model-recommended
docs: https://fritx.github.io/vue-at/#/en/vmodel<at-ta>
instead of <textarea>
@fritx Thanks for replying!
I tried everything in the docs. Doing it does not update the newMessage
value. I even removed one of the <at>
components, as per code below, but it does not work:
Here is a gif, showing that even though the textarea is changing, the newMessage
is always equals an empty string.
@fritx Is there a workaround to this issue? I can provide more documentation if necessary.
@gusMoreno is there any third-party library that processes the textarea? like https://github.com/fritx/vue-at#used-with-3rd-party-libraries
It should be working if you at least use the latest version of vue-at, 2.5.0-beta.2, try it plz
@fritx It was not a third-party library, just a regular textarea. It worked after upgrading the vue-at version to 2.5.0-beta.2
Thank you, I really appreciate your support, and the work you are doing with vue-at!!
Still having this issue. Exactly the same as @gusMoreno for me this didn't solve by moving to 2.5.0-beta.2 https://prnt.sc/ui1w4r
the data is entered to v-model after the user hits another key after selecting the mention. For example, if I select a mention then make another keypress then it works. Otherwise doesn't. https://prnt.sc/ui1va4
Hi,
My application has a chat, and I am using at-textarea to select tags and users. I based my code in the demonstration available in the FAQ page.
Here is my code:![Captura de Tela 2019-05-14 às 12 52 35](https://user-images.githubusercontent.com/6085835/57713673-527b1900-7649-11e9-9073-5a455ee716b3.png)
The issue is that when I select an option, the option is not added immediately to the v-model
newMessage
. It even shows in the textarea, but it only gets added tonewMessage
if/when I type anything else.The gif below demonstrates the issue. There is a console.log that prints the value of![vue-at gif](https://user-images.githubusercontent.com/6085835/57713838-a38b0d00-7649-11e9-85b4-4430b482fd39.gif)
newMessage
, every time it changes.How can I fix this?
Thanks in advance!