Checkbox is not resetting between two list views

Hi FlutterFlow Community!

I'm still a novice using FlutterFlow so I apologize in advance if this turns out to be really simple.

I've created two to do lists stacked on each other, 1 filtered to open items and 1 filtered to completed items.

When a task is completed (once the user clicks on the Checkbox widget), it successfully disappears off the open items list and shows up in the completed items list.

However, the checkbox doesn't seem to be resetting when I uncomplete it. Steps below for clarity:

  1. Task is completed by checkbox action on the open tasks list view. Task shows up in completed list with checked version of Checkbox widget. (Good!)

  2. Click Checkbox widget for the task in completed list. Task is marked not done and moves to Open Tasks list.

    1. However the checkbox still shows up as completed.

I've set the value of the Checkbox Initial Value on both lists to a variable 'isDone' which is how I'm storing the Completed value in Firebox. I tried setting the value without a variable (just clicked on the Checkbox initial value box) but the same thing happens.

How can I reset the checkbox?

3
1 reply