FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
98 stars 17 forks source link

ToggleIcon supports only a boolean field or a List Contains. #2833

Open sonbui00 opened 2 weeks ago

sonbui00 commented 2 weeks ago

Has your issue been reported?

Current Behavior

Error show when ToggleIcon use boolean field from a DataType field (boolean) and then can't run project

Expected Behavior

ToggleIcon can use boolean field from a DataType field (boolean) and can run the project

Steps to Reproduce

  1. Create a data type with a boolean field
  2. Create an App State with above data type
  3. Create ToggleIcon with value use above boolean field from App State
  4. Got error from Issues: "ToggleIcon supports only a boolean field or a List Contains."

Reproducible from Blank

Bug Report Code (Required)

ITESz/Hqx89goeFc0KXcYcFQhQIgQ0QnU7gnlO1ucx40G5CoOpkXdfekaUNKTbSdeG1iB2eZoDszwejej+HtDO5dNSiqfIhg0JVAcxbjcz+mSq6OELuSQkRRO8dMBXak17anhBVNNbZtWCEh7zmlNq3qNleeY8aSfxBlZ7vfcPo=

Context

Can't run project

Visual documentation

image

Additional Info

No response

Environment

- Platform: Web
- Browser name and version: Chrome
- FlutterFlow v4.1.45+ released April 26, 2024
- Flutter version is 3.19.1

General

Relative to the time the changes were made, data was lost within

When following my steps to reproduce, data loss happens

paulperez-dev commented 2 weeks ago

Hi @sonbui00, thanks for reporting this! I was able to reproduce the issue. I will send it to the ENG team so they can work on this.