Hi,
I am trying to populate a choice chip using a datetime field from a firestore collection. While trying to set a variable of type List <DateTime>
or List <Anything>
, I want to select the collection slots
, and I except an option called Map List Items
-> and then select the field slot_start_time
to be converted to a list. This is based on tutorials/documentation I've looked at so far. Examples:
(from issue - https://community.flutterflow.io/ask-the-community/post/map-list-items-current-variable-is-not-valid-aFG5DzNzVGsr5hk)
(from video - https://www.youtube.com/watch?v=8QU3P0w4GK8&list=PLegYPCD7QFt0066WjGoUT5jS4GT4mE3q2&index=3)
However, I see the following:
I have tried a lot of different ways, using custom code to convert a column to a list, and creating a page state variable and updating it by adding an item - but I am not able to resolve it.
Essentially I want to create a choice chip with the available slots, which are captured in the slots
collection. I want to display the slot_start_time
field as the options.