Use a list view and toggle icons to make a checklist. Learn how to build on top of this checklist to also have a progress bar display your progress with this video: • How-To Configure a Pro...
are these tasks than idividual for each authenticated user? Like if I got multiple users and they log in they should see their individual task-lists and not a general one. are these for the individual users or just straight global?
The tasks have a field in the database that determines if they are finished or not. To set all of them to unfinished you would have to run a loop on each of the tasks and change “completed” to no.
Until then, the idea is similar to the loop we make in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-RRH68KhM-Ho.html You can ignore the parts about uploading and instead modify it to edit an object instead of create one.
Hi. How can I enable a button only when all of the checkbox is true? I need to save a task list, but the button "Save" can only be enabled, when all the checkbox is true. Can you help me, please?
You need to check if all of the tasks are completed. This means doing a backend call on the button for a COUNT of a list of tasks where completed is “yes”. If the count is greater that zero then the button should be disabled. If not, you can enable it.
@@originalstrokes In my application the list of checks is variable for each machine model, therefore the number of checks is also variable. Also, I can't select each task individually to make a counter. Sorry for not understanding, but I'm new to flutterflow
@@user-yi6nt9cz3zDon’t worry about it! I also made a mistake in my explanation. I meant to say checked is equal to “no”. Essentially you are checking if any tasks are not checked. So do a backhand call on a button and use the same constraints you are using on the list view to retrieve a list of tasks BUT add a filter that says “completed is no” and instead of retrieving a list of tasks, just retrieve a count. Now, it doesn’t matter how many tasks you have or if that number is variable, we are just getting the count of all the tasks that are not checked. On the button add a condition saying the count of tasks is greater than 0, disable this button.