Skip to content

Some of the things that arise about using textarea? #4677

@sunriseshow

Description

@sunriseshow

Vue.js version

2.0.0

Reproduction Link

demo

Steps to reproduce

Click on the left to add the picture, add more than two, if you remove the front of any one

What is Expected?

You will find only textarea data has changed, the value of which is shown from start to finish, but the last one removed
The reason why I do not have v-model, is to enter after the end, textarea and vuex before the current value stored in the contents of the inside is a result.

What is actually happening?

Pictures and textarea can correspond to one another, and textarea before the contents of the vuex and stored inside the contents of the same time, the preservation of the database, which is a pop-up tips "different data can be saved"
I do this only to the same data in the case of less preservation of the database, after all, such a poor performance. Such a page, the user clicks back and forth from the operation, is very possible. Each of the previous step, the next step, I will save the database. product demand.

I also used this method

Through the calculation, to the assignment, but the first problem is the following prompts at least enter the judgment of some ten words, the input to ten words, the contents of the emptied. If you click Delete, the textarea will appear two on the page.
Refer to this link forms

Note: I asked in other forums, some people say that this complex situation can not be resolved.
I do not know how it is, so I hope to be resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions