Event handlers with multiple conditions

Hello,

I would like to run query with two conditions. And I have tried below syntax both not works. Is the retool support multiple conditions on event handlers?

{{ (TabDetails.selectedTab == 1) && (tblClients.selectedIndex >= 0)}}

{{TabDetails.selectedTab == 1}} && {{tblClients.selectedIndex >= 0}}

Finally get it works by below code.

{{(tblClients.selectedRow.index != null) && (tabDetails.selectedTab==2)}}

2 Likes