Need help in creating sub-tasks within a task

PLS help me, cant solve for a day.
My app is a to-do-list app, i want to add a feature that when you create a task u are able to add subtask. so when u press the botton ‘subtask’ it shows you an input where u can write you subtask. My problem is that i need to assign this subtask to a task i create, so when i pull the subtasks from data base is doesn’t show all the subtasks, BUT THE TASK IS NOT CREATED YET. I tried to create the task when a user presses + button which pulls up the sheet with a task creation. it works. but the problem now is that when a user change his mind and close the sheet by swiping, the task still exist…
im sorry for long explanation. I will highly appritiate the help :folded_hands:

You can use my plugin data Jedi to help with this as it allows you to create thing on the user device and not bubble database until you’re ready to save all things to DB. I’ve used it in my client apps to go four levels deep, meaning thing 1 has list of thing 2 each can have list of thing 3 which each can have lists of thing 4 and I do not want to create things 1, 2 or 3 until all thing 4s are created and ready to be saved.

There are other plugins that can help to. You just need some method to allow you to create objects client side. Some are easier to use than others.

This topic was automatically closed after 70 days. New replies are no longer allowed.