Skip to content

Datatypes do not update in document #1000

@wmacklin

Description

@wmacklin

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

My collection has a location field which is a datatype [string, document Reference, string]. It was passed to the page via bottom sheet action output as a datatype. The data is proven to be passed by the text being filled on the screen by the action output. I then needed to update the document with the new location data from the location datatype. I created an action to update the document. The location field was set from variable from the action output. All other fields update the document except the location action output. This also occurs using app state datatype.

Expected Behavior

When passing the data from the action output as a datatype to update the document. The document should update since the datatypes are compatible.

Steps to Reproduce

1.Create a page to edit data. This page can select a bottom sheet the brings back a datatype action output. The page should also have a save button that has an action to update a document. The field of concern should be a datatype (string, docRef, string).
2.Create a bottom sheet that when dismissed has a value of a created datatype
3.Set an action on the edit page save button that updates a document. update the field that is a datatype by set from variable. Set the variable from the action output.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT48i/LlvJd2xNta1rruccFr/TgWOUs7a40R18EbWRU8J5DaPOxzP/TBaldWUs+0dAlUO1qagmAy0/femvHTM+1daCibGbU5+rpqcjvJcGqWRpiuPLWzdW5/DeFMGUDE05+NmR1DIrRvLnxi7V+YAvOtVnbDJ4D1DGsZQs6iA5OK2SrDX1iXc2URm05KZDPz

Context

Need to update a datatype in a document.

Visual documentation

image
image
image

Additional Info

No response

Environment

- FlutterFlow version: 3.7.12
- Platform: Web
- Browser name and version: Chrome
- Operating system and version affected: Windows 10

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions