Hey, so I created a dynamic using a listview and form elements (select, etc). I dynamically change the number of rows in the list view. When I do that it removes the currently inputted elements in the form. That seems like a bug to me. That can lead to very unintended behaviour where a user increases the number of rows and then all her inserts into the forms are lost.
Hey @lys123! Sorry for the delay here, missed this one
This is definitely on us, although I’m not sure it’s a bug as much as a bad UX. What I think is happening is that we’re re-rendering the whole ListView component when the number of rows changes, which is why your inputted data is disappearing. Either way, I filed it with the eng team - can’t promise a timeline but when we get to it I’ll post in the thread!
awesome. Now i have to tell my users to always save before adding an element. It works but… is error-prone haha
@lys123 - it seems I spoke too soon. You can use the ListView’s row keys feature to make sure that your inputted state gets kept!
oh wow that sounds like it would exactly fix it, let me add an id to the API, and il get back to you if it works! Thanks!