Skip to content

Loop Over List In App Action Blocks Still Doesn't Work #6030

Open
@aggalix

Description

@aggalix

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

Within Action Blocks Loop Over Lists have the following problems:

  • Start Index, End Index, Step Size, and Reverse Order cannot be selected or edited.
  • The generated code is missing the index parameter in the generated code elementAtOrNull(). This means the app cannot be compiled, tested or submitted.

Target dart2js failed: ProcessException: Process exited abnormally with exit code 1: lib/actions/actions.dart:543:57: Error: Too few positional arguments: 1 required, 0 given. .update(roleDeleteProfileDocs!.elementAtOrNull()!.reference,

etc.

Expected Behavior

Parameters in Over List lists should be editable The generated code should function as expected.

Steps to Reproduce

  1. Create a new project
  2. Create a new App Level Action Block
  3. Add a loop
  4. Change loop type to Over List
  5. Attempt to change Start Index, End Index, Step Size, or Reverse Order [uneditable]
  6. Reproducible from Blank

Reproducible from Blank

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

Bug Report Code (Required)

IT40hc/1z5J2n7xH7arpbfpajic5KWYmULhJ0cJRaCosfZT2BLMcec/RVERuYN+mT1Z+M1r9kWoW0NLHieDpG8JdCzSWR4hHyM8MFzuWWkSXMZS1FJWgZ2smM/xmChWZ36bYrBBNLvJsdC0j2kOUF+7KbHPcGJjLPHowDq/LZO4=

Visual documentation

Image

Image

Environment

- FlutterFlow version: 6.0.21
- Platform: Web & MacOS Desktop
- Browser name and version: Chrome 137.0.7151.104
- Operating system and version affected: MacOS 15.5

Additional Information

This is specific to Action Blocks.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions