Skip to content

Dropdown widgets - cannot set labels after setting values #1772

@eilzo

Description

@eilzo

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

There are two label-related issues with the drop down widget:

  1. When creating a dropdown, once the options are set, the user cannot toggle 'Add Option Labels'.
  2. If multiselect is enabled for a dropdown, there is a build error when trying to set labels for them.

Expected Behavior

  • We should be able to toggle labels on/off whether or not values have been set for a drop down.
  • We should be able to set labels for multi select widgets

Steps to Reproduce

Issue 1:

  • Add a dropdown widget
  • See 'Add Option Labels' toggle
  • Add values to 'Define Options'
  • See 'Add Option Labels' toggle disappear.

Issue 2:

  • Add a dropdown widget
  • Select 'allow multiselect'
  • Add labels and values for drop down
  • Build app

Reproducible from Blank

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

Bug Report Code (Required)

Context

Visual documentation

Issue 1, cannot set labels after setting values:

Screen.Recording.2023-10-05.at.16.57.45.mov

Issue 2, cannot set both multi select and labels:

image (1)

image (2)

Additional Info

Environment

- FlutterFlow version: 4.0
- Platform: FlutterFlow application
- Browser name and version: Chrome

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions