Is there a way to auto clear textboxes on app restart?

Hey everyone,

I’ve been playing around with a simple note taking app and I noticed that when I close and reopen the app, the textboxes still show whatever I had typed earlier. I was wondering is there a way to make the textboxes auto-clear every time the app starts fresh?

I’m not using any TinyDB or saving logic yet, so I assumed they’d reset automatically, but maybe I’m missing something?

Thanks in advance for any tips!

.

These guys Concrete Contractors Richmond VA are really helpful! We’ve tackled similar default-state issues.

Quit surprise to hear this, without saving the textbox value how could it show?

In such case during screen initialization just reset the textbox txt to empty string
image

In addition to what @Spicy_Topics has already said (quite clever :+1:), how do you close the app ? Which blocks do you use to do that ?

Try the 'super-super simple' .aia here below.
Use the EXIT button to close the app: at every restart of the app, the unique TestBox is empty.
Best wishes.

ProvaTB.aia (1.6 KB)