You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to change the behaviour of the input area;
On enter submit, on shift+enter insert a new line.
I have tried using @keydown.native="handleSubmit" but it's acting strange. It's submitting before the given model changed.
Any idea?
Note: Enter is working with e.preventDefault() but the problem is still remains; bind v-model is not changing immediately on keypress. I have even tried with nextTick but does not help. I do not want to wait with timeout or something.
The text was updated successfully, but these errors were encountered:
Is it possible to change the behaviour of the input area;
On enter submit, on shift+enter insert a new line.
I have tried using
@keydown.native="handleSubmit"
but it's acting strange. It's submitting before the given model changed.Any idea?
Note: Enter is working with e.preventDefault() but the problem is still remains; bind v-model is not changing immediately on keypress. I have even tried with nextTick but does not help. I do not want to wait with timeout or something.
The text was updated successfully, but these errors were encountered: