Skip to content

Conditional visibility is not working for "Show Clear Field Icon" in Text Field widget #6490

@marceloleitemt

Description

@marceloleitemt

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

I'm trying to set up conditional visibility for the "Show Clear Field Icon" property in a Text Field widget, but the setting is not being applied correctly. It seems to accept the condition initially, but then loses the configuration, and the icon is always visible.

Expected Behavior

The "Show Clear Field Icon" should appear or disappear based on the condition I set.

Actual Behavior:
The conditional setting is lost, and the "Show Clear Field Icon" remains visible regardless of the condition.

Steps to Reproduce

  1. Add a Text Field widget to the page.
  2. In the properties panel, enable "Show Clear Field Icon".
  3. Click the "Set from Variable" icon (the orange-and-white icon) next to the "Show Clear Field Icon" toggle.
  4. Set a conditional value (e.g., a boolean variable or a condition like 'is empty').
  5. Save or close the conditional settings dialog.

Reproducible from Blank

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

Bug Report Code (Required)

IT4OhcrluM5Osctb1s7xbcAw9SMsKUB+aqxMiMFDYw8cB5fNG7IUY8jeVGVtXdOhdH02PmCJ+X8d+dGNkvbIN8Y7GzaCb75b+pBiSw7/ZDihRLaWDs6KX0ZBPNpKCkDH5sKg2SJNKsluW1417Wb3DeuRcAPUQJTUNlgZR/6ILq3XnXfuQ0SLb3kNh1JWeC/v

Visual documentation

Image

Environment

- FlutterFlow version: Desktop
- Platform: Windows
- Browser name and version: Chrome

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugProdstatus: confirmedIssue has been reproduced and confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions