How do you Automatically Clear Textboxes When App Restarts?

Hi everyone,

I’ve been building a simple to-do list app, and I noticed that when I close and reopen the app, the textboxes still contain whatever I had typed before. Is there a way to have the textboxes automatically clear when the app restarts?

I’m not using any local storage or database to save the data yet, so I thought they would just reset by default. Maybe I’m overlooking something?

Any tips or guidance would be appreciated!

Thanks!

How do you close the app?
Use the close application block from thr Control drawer to close the app correctly

Taifun

Clear the textboxes after the data has been added to the todo "list"?

Are you using tinydb?
Are you calling those values in screen init?

Untill you call the saved data into textbox in screen init, how do they bear the previously typed textbox?

Surprise to hear this.

Either show your screen init blocks or set the textbix text to empty-string (useless this is)