Set fields in a document from choice chips

I'm struggling to figure out how to use a choice chips widget to populate a list field in a document on save of a form. The form is used to save an artwork title, image, and tags. I have a choice chips widget whose options are populated from a "tags" document specific to each user. ๐Ÿ˜Ž I have a Local Page State Variable set up to capture whatever choices the user makes for the choice chips. โœ… I have a save button that creates a Firebase record and successfully saves an image and text field whenever someone creates a new artwork. โœ… But I can't figure out how to set up my action so that whatever the user selected in the Choice Chips gets populated as a list in the artworks document. I keep ending up in this weird loop trying to figure out what choices I should set in the Value Source > UNSET field. These don't seem like the right options.

How does one successfully pass the values selected within a choice chips to the fields in the firebase record that's getting created? Any help is much appreciated!

3
4 replies