Do something only when a tabs in selected

How I can execute a query only when a tabs is selected?

I'm using TabbedContainer and I think when the page is loading, all querys from all tabs is executing.

I need that query's only execute when the user active the specific tab.

You can use a boolean under the Advanced tab of the query:
Screenshot 2023-02-09 at 12.14.13 PM


Now all have sense.
Thanks you.

1 Like