multi selection dropdown to a new document in firebase

Actions & Logic

Hello,

I need some help. I have created a modal with a multi selection dropdown. I want when clicking on the "validate" button, everything the user has selected go in a new document in a firebase database that I have already created. The field I want the data to go in is a List with data type : < Doc Reference (orthoformation) > (orthoformation is one of our databases). I don't succeed to do it.

What have you tried so far?

Here are the steps i followed :

The database I created :

https://drive.google.com/file/d/152jL3leQo9IAVpNXgeGRI8DA_PeeaxXR/view?usp=drive_link

The modal I created. There are two fields : one text area for the name and the multi dropdown I want. This multiple dropdown triggers the "orthoformation" database, whose documents could be in the list I want to fill.

https://drive.google.com/file/d/13TX9DR8etUsF11pT6PkiQZh1p15g6PnM/view?usp=drive_link

Here is the action scheme on the "validate" button on the modal.

https://drive.google.com/file/d/10kEYc_vdyuK-WqfjdLC4RB2-3zH9LAC4/view?usp=drive_link

Here is the fill of the "name" field through the first text zone (that is working)

https://drive.google.com/file/d/1YQf6lLlzEIcNs6la4ozdnAMhxbG4y-hH/view?usp=drive_link

And here is where I struggle :

https://drive.google.com/file/d/1wBHiGIOuaUupTYUOuvS6CcFa44ebVyvE/view?usp=drive_link

https://drive.google.com/file/d/16ax-lPl8rBuUO_0bOu3ecbt8axKlBWgA/view?usp=drive_link

As I can't select "list contains items", it creates an infinite loop asking me the same thing everytime.

Do you have a solution ?

Thank's

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