Update document - Add date to DateTime field that is a list

Actions & Logic

Hi

I am hoping my problem is an easy fix for you experts out there!

In my project, I am trying to add a date stamp to an action item - I want to add the date stamp every time I click on an Icon button.

In my Collection, I have a field called "ActionDate" which is in DateTime format and is a list. And I have a field called "Action". There are other fields in this collection but not relevant to my problem.

The actions appear in a ListView which has a backend Query that captures the Collection that has the "Action" and "ActionDate" field in it.

When the tick icon button is pressed, I have set up an Update Document action that updates the reference of the collection, I then chose the Action Date - and then chose Add to set and it then selects the current time from the Global property. But when I press the icon button I cannot see the current time added to the list in Firebase.

Can you please help me see what I am doing wrong? Many thanks.

What have you tried so far?

I have set up the query as I know, but it does not work!

Did you check FlutterFlow's Documentation for this topic?
No
1