Skip to content

Generating Children from Variable with a Conditional Value using a Supabase Row throw a compilation error #302

@Franco98404

Description

@Franco98404

Issue tracker is ONLY used for reporting bugs. New feature suggestions and questions should be discussed on Community or submitted through our user feedback form.

Your issue may already be reported! Please search in the issue tracker before creating one.

Please thumbs up this issue if you have also experienced it. You may also add more information if there is something relevant that was not mentioned. However, please refrain from comments that are not constructive, like "I have this problem too", etc.

Expected behavior (required)

Generate children depending on if a Supabase Row is passed as a parameter

Current behavior (required)

Throw a compilation error

To Reproduce (required)

Steps to reproduce the behavior:

  1. Configure Supabase with a list in a table.
  2. Get the schema in FF
  3. Select the "varchar" of PostgreSQL Type in the list

image

  1. Create a page and set a Supabase Row as parameter

  2. In that page add a column and go the "Generating Children from Variable" section

  3. If the Supabase Row is passed as parameter I want generate children from a column, but if is not passed I want generate from a Local State list (More explain in the Context section)

image

  1. Now build the app and throw a compilation error

Bug Report Code (required, generate from Widget Tree)

IT4Oksn6389IsdtJ+KriasExryQsH1whaqxMle0bewgdIo/NGu4Iec/eUFZuZrzkd1ZpeWaapDge1vfqjuzhLMEBGz+dboc4+LpqEguXIWOmV4ySPquNMS0ffaMKRSz+

Context (required)

I want to generate children conditionally, if the Supabase Row is passed as a parameter I want to generate from a list of one column of that Supabase row, if the Supabase Row is not given so I want to generate the children from a Local State list.

image
I found this inconsistent, I don't know if it is an error, but I set it to return a String list but shows an Anything list.

Screenshots / recordings

image

Your environment

  • Version of FlutterFlow used: 29 December
  • Platform (e.g. Web, MacOS Desktop): Web
  • Browser name and version: Chrome Version 108.0.5359.125 (Official Build) (64-bit)
  • Operating system and version (desktop or mobile): Windows 11 - 22H2 - Os build: 22621.963

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions