The ListView can't retain the input field when the source data decreases

I have problem with the new list view where in my case i use it to show an input file on each of the view item where user can upload their file.

Currently it's working fine when the user try to append the source data, but when the user try to remove the last item somehow the previous filled file input is missing. Need your guys help on how should I handle this, previously it was working fine with the deprecated ListView.

Here is the example user flow of my case

  1. User open page
  2. User add a file to the file input
  3. User click Add button to add more file input, the system now showing 2 file input where the previous input value still exist.
  4. User click Delete to remove the last file input, now the previous file that user already add on the first file input is missing.
  5. The same thing goes with other input type

Hi @Bima_Aulia,

Thanks for reaching out. We have a feature request in our backlog to better support adding and removing values from the new list view. I'll reach out if this gets prioritized!

If the legacy list view is working for your use case, you could continue to use it. Otherwise, you may be able to somewhat solve this with a variable to manage the state of the list view. Unfortunately, I still don't think this approach will integrate well with the file input since we don't have a setValue api for that component