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.