Skip to content

Create document action is missing option "Add To Set" in list type #584

@benjaminathlan

Description

@benjaminathlan

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

CleanShot 2023-03-08 at 15 54 51@2x

Today it's not possible to add to set on document property list.

I wanted to add document ref to a list from a "create document action" but I only have :

  • Add First Item
  • Set Value

So I use a workaround (which is not good because it's costing anoter backend call) :
Create a document, then update it

Expected Behavior

Create document action and having the ability to "add to set" in List Ref property

Steps To Reproduce

  1. Create a document called "files" with a ImagePath property
  2. Create a property (list) in this files document called userList that reference Users
  3. Create a button in a page for uploading
  4. Open Actions
  5. Action 1 : Upload media to firebase
  6. Action 2 : Create files document with uploaded files (try to add the current user in userList property)
  7. Action 3 : AS A WORKAROUND, I'm using upadte document to add userList into it

Bug Report Code

IT4sz8jf5ZZIpbxK7aqNKflR/SMvJlg7U7gkscp/bxIgGIDzPOw+ZPWkYlhpXs+5dFV+e0SmmXMB/62MvtjlG8cFBzWtc745+s0BbjzveFiie5OBDs/pVHF7J+RQG3KD4J+jnxVSA7JYcXgC2Fyle9zKfBXZH4/4IndISq/LZO4=

Context

Not blocking cause I found a workaround.

Additional info

This it this update behavios
CleanShot 2023-03-08 at 15 54 59@2x

Environment

- FlutterFlow version: 3.1
- Platform: iOS, Android, Web
- Browser name and version: Chrome, ARC
- Operating system and version affected: Mac Silicon M1 (Ventura 13.0)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions