Updating String List in Firebase

Database & APIs

Hello all,

When creating a profile, my user can choose his favorite sports.
I have in my firebase users collection a "favsport" field (data type = List <String>).
The page where the user can select his favorite sport is built like below = items with checkboxes.

At the bottom of the page, there is a "Next" button.
On this button, I am setting up a backend call to update the document "favsport".
I would like t that for each box checked, the corresponding item is added to the string list of fav sport (if footballbox = true, I would add football to the list in favsport).

I haven't found anything relevant to updating string list in the documentation, so I am kind of stuck at the step shown below.

Which available option should I choose?
Maybe what I am trying to do is too "difficult" and can be done in some other way?

Many thanks



What have you tried so far?

Create a backend call to update a document - tried all the "available options" without success.

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