Hi. I have a Firebase collection (Person) that contains a field that is a list of a DataType that I defined. It is an address DataType so the Person document can contain a list of addresses.
I have a ListView that shows these addresses and I have no problem adding a new address to that list or deleting an existing address. I can see that when I add or delete, the address in the list is added or deleted in the person doc in Firebase.
My problem is that I cannot find a way to update an existing address. I set up the action similar to adding a new address. I select the Person reference that is to be updated, I select the address field, and then hope to see an Update option. The pop-up help, tells me to select "Set Value" to replace the list with the given value. Does this mean I need to maintain the list of addresses somehow in code, update that list with my changed address, and then replace the entire list of addresses with this one that I have manually updated? If that is the case, it seems rather poor that no Update option is provided if it is able to cope with Add and Delete.
If this is the case, I suppose I can use a page variable to hold the complete list and use a custom function to replace one address in that list.