Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : User input gets destroyed when adding items to a list.

$
0
0
The problem is that the entire list is being re-rendered again, so you get an empty input. The way for fixing this particular issue is to only render items dynamically (e.g. append if something has been added instead of rendering everything).
There were some plans of only adding new elements vs. re-rendering but I'm not sure where they currently are at.

Viewing all articles
Browse latest Browse all 3491

Trending Articles