Can Appsmith remove widgets programmatically?

Hi,

My first post here and big thanks to Appsmith!

The problem I am having is to add and remove a time-picker (infinite mode) to display when something is loading. I want to add the time-picker widget to a container and then remove it when the loading is complete.

Is it possible to do this in Appsmith?
If not, is there a recommended way to add a loading/waait widget?

Thank you.

Maduranga

Hello! Thanks for using Appsmith and welcome to our community!
We have this sample app that demonstrates how to have a loading screen while waiting for the page to load. You can fork it to check the code.
Please let us know if it helps.

Thanks so much Amelia.
I will try that.

Regards,
Maduranga