Hi there...
First off, hello! great to find this forum, and I hope you'll forgive me what may be a dumb question, i've googles and searched but haven't found an answer I can get working!
I'm building a lifestyle app, and in it I want to record the users preferences... in this particular case, their wine preference!
I have a bunch of wines in the list, and when the user hits next I want to do a couple of things...
In firebase I have a array called "facts" of datatype=fact
And in the datatype "fact" i have values of
Type
Thing
Category
What I want to happen is that when the user clicks next:
1) The facts array is filled with an individual item for every choicechip selected
2) Type is set from an enum list to "Like"
3) Thing is set to the value of the choice chip
4) Category is hardcoded to Wine
So in the below example the firebase Facts table would have two items created
1
Type=Like
Thing=Red
Category=Wine
2
Type=Like
Thing=Merlot
Category=Wine
I can get all this working with a text box and a single item, i just cant figure out the way you create multiple items from the String list that you get from the choicechips.... it feels like i shouldn't need a custom function or looping... but that i should be able to do it through actions? even if i create the items with just the "thing set" then update the items after in the action chain with the type and cat?