Skip to content

Code Expression setting in actions broken #4842

@Rishay97

Description

@Rishay97

Can we access your project?

  • 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

When I am setting a value and I click ‘Code Expression’, i define my variables and type the code, for example list..add(user)
And click confirm. All is fine, But after running the code, the code expression disappears and is actually blank when I go back to look at the action flow. It might have something do do with me referencing a supabase row query, because I’ve noticed that this happens when I am using supabase.

IMG_4959

Expected Behavior

my code expression value should not be blank after adding it in. It should remain.

Steps to Reproduce

Have a supabase row, query the row in the page.
Click on a button to bring up action flow
Set the action to ‘update supabase row’
And filter to select the relavent row,
Under value: select code expression
In code expression: set variable 1 to be a list string that is from the supabase row
Set variable 2 to be another string
Set the code expression to be var1..add(var2)
And save the custom code. It should save (sometimes it doesnt)
But after running the code, the code expression dissappears.

Reproducible from Blank

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

Bug Report Code (Required)

Test

Visual documentation

test

Environment

- FlutterFlow version: 
- Platform:
- Browser name and version:
- Operating system and version affected:

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions