How to update a single field inside a list of custom data type

Actions & Logic

I have made a data type and want to update one field from it . I am storing a list of custom data types in Firestore under a field called clubmembers . (Refer Img) I want to update only the postingAccess field for a specific member (e.g. where memberId == currentUserUid), without modifying or recreating the entire list manually.

What have you tried so far?
  • I tried using the Update Document action in FlutterFlow, but I couldn't find a way to update just one item in the array.

  • I also explored using conditions or filters inside the Update Document action, but it seems not possible to target a specific array element.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
2 replies