-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
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
Contenteditable repeated values #5234
Comments
Adding edit: added sometimes 😆 |
This is what I'd rather do: https://jsfiddle.net/tyy9e147/ |
That works as expected!. Thanks you... feel free to close it if you think is resolved. Observation: If value model has a string, It does not appear |
what do you mean by a string? It's always a string |
Sorry, I mean a default value |
Oh, ok. If you bind a value, it's better to set the initial value there, too, instead of the dom, as with |
With more than +1000 rows, v-model produces performance issues in my app. We are trying to optimize by only updating the value when the on blur event is triggered |
@11joselu how about v-model.lazy? |
@simplesmiler Oh! That's works too...Combinating my solution with @posva solution works as expected without delay on keypress events |
Hey folks, just wanted to let you know I ran into this same issue and pulled my hair out for about 24 hours trying to figure it out. Here's my test case. Using EDIT: I just discovered that switching ti |
Version
2.2.4
Reproduction link
https://jsfiddle.net/akcbj2z5/1/
Steps to reproduce
Write something into de text box (create a first value)
Click outside text box (need to lose focus)
Create repeated texts: Focus and unfocus again
What is expected?
Do not create repeated first values
What is actually happening?
Repeat values when element lose focus
Same issue using this.$set (objects) :(
The text was updated successfully, but these errors were encountered: