Skip to content

The TextField created as a component appears repeatedly in the Set Form Field action. The others do not appear. #1891

@annaisdevk

Description

@annaisdevk

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

I have created a TextField as a component:
component_textfield

A page contains + 1 of this component. To distinguish them on the page, each one has its own name:
textfields_form

If you want to read the value of one of these TextFields, through Widget State, they appear correctly differentiated and you can get the value of each one. This is correct.
widget_state

BUG:
The problem is when you want to set a value using Set Form Field action. Not all TextFields are displayed. Only 1 appears and it appears repeatedly.
repeated_textfield

Expected Behavior

In 'Set Form Field' should appear each of the TextField that contains the page. In the same way that they do appear from Widget State.

Expected:

EXPECTED

Steps to Reproduce

  1. Create a new Component
  2. Add a TextField in this Component
  3. Then create a new page and add this component to it +1 time, and set a custom name for each of them.
  4. Create a Set Form Field action. You will see that only 1 TextField appears and repeats.

Reproducible from Blank

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

Bug Report Code (Required)

IT8gz/Hq4c9goddA7qrAcu9VgiYXKUg5a7grl+tqEAgafJSvBI13d/elXBFVZOqBa21AI1qZkmYypuDUhM7xG8c7EweVb65l3JVqZwuUfE+XVYyJDLmRdXFfGcdPf26Y0MKg3AlsA+FsdCEY7V+mAee9Tj3UNITQDXovRcmaOqH4p0qYAh3rGzpU4yoXJR7eTI5ODEz25eKMrop5yfj/0w==

Context

I have TextFields that I want to reuse on different pages and not have to repeat the same settings and actions each time. For this reason, I created the TextField as a component.

This problem makes it impossible to set values for the text fields.

Visual documentation

The screenshots are attached to the previous messages describing the problem.

Additional Info

No response

Environment

- FlutterFlow version: v4.0 released November 21, 2023
- Platform: Web
- Browser name and version: Chrome 119.0.6045.160
- 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