Skip to content

CheckBoxGroup doesn't maintain state inside a drawer. It loses the already selected items when a new item is checked.  #2637

Open
@josiebhai

Description

@josiebhai

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 a CheckBoxGroup inside drawer.

  1. I open the drawer, select one or more items in the checkboxgroup and dismiss the drawer
  2. I open the drawer again and it shows the already selected items. All good till now.
  3. When i select a new item, all the already selected items are unselected.

Expected Behavior

I have a CheckBoxGroup inside drawer.

  1. I open the drawer, select one or more items in the checkboxgroup and dismiss the drawer
  2. I open the drawer again and it shows the already selected items. All good till now.
  3. When i select a new item, the new item to be selected and the already selected items to remain.

Steps to Reproduce

  1. Add drawer to the existing page
  2. Add a checkboxGroup to the drawer with multiple items
  3. Run / Test the app
  4. Open drawer select few items
  5. Dismiss the drawer
  6. Open the drawer
  7. Select a new item

Reproducible from Blank

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

Bug Report Code (Required)

IT8klcr135VNxMdG0b6Jd8Bv9WEWMjsmbYIeluxEdw8bfJCuEooqd8+lRBRtWMyBfGw7IlGGgmM0ps7GhIbyGMA4YEyBRaly3JVqagzJcEWWWrqOCajhSnNCGZ9QN3bA5sGO3R5sA+FeWkYY7GGAJvOyaDXAJIzaDWo4Rc6LKrDLomvmGA3RGhZr4xEXEx7eTI5ODEz25eKMrop5yfj/0w==

Context

Im trying to implement filter functionality for my list page. First one set of filters is selected. Next when i wnated to add more filters, I expect to select only the new filters but I'm forced to reselect all the filters from the beginning.

Visual documentation

CheckBoxGroupBugReport.mp4

Additional Info

No response

Environment

- FlutterFlow version: 4.1
- Platform: Web
- Browser name and version: Edge Version 123.0.2420.65 (Official build) (64-bit)
- Operating system and version affected: All Versions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions