yai
yai

Reputation: 80

Attribute in FLutterflow is unaccessible

enter image description here

I have this structure where the start button creates a new document with few fields filled first, but when i want to update the same document, im not able to set it as its in red. the column is a backend query to call 'daily_programs' single document. Below is the data i want to update and the actions im trying

enter image description here enter image description here

As you see the time_end and success is in red. im unsure how and when should i update the document. Even the action on timer ends which is inside the timer, these attributes are not updatable. Im still very new to flutterflow would appreciate some guidance

Upvotes: 0

Views: 63

Answers (1)

This is probably because you need to pass not the actual field you want to update, but a reference to the record, and then specify what exactly you want to change. From the FlutterFlow docs: https://docs.flutterflow.io/actions/actions/backend-database/firestore#3.-update-document

Upvotes: 0

Related Questions