Wrong index of DataType document in Listview after filter applied?? How to update a specific data type item in list?

Hi ! I have list of DataType documents. And I need to update data for specific DataType in List. If I generate list of DataTypes without any filters, I can update specific dataType item according to FF documentation https://docs.flutterflow.io/data-and-backend/custom-data-types/custom-data-type-in-app-state Indexes for each document in List are correct. But if I filter generated List of DataType (for instance by Category) then indexes for filtered list items is generated starting from zero and they do not match indexes in full list of DataType. So if I update some data for filtered item with index 1, in fact changes are applied for document for item with index 1 in full unfiltered list of Datatypes, but it is different document ๐Ÿคจ Does anybody can help to find solution? How to filter List of Data Type and get filtered documents with right indexes? My main conclusion is that Indexes for listview widget Items is generated by FlutterFlow and they do not fetch from DB documents.

How to update a specific data type item in list after filter applied???

3 replies