Why is "Watched Inputs" showing "No Data"?

According to the documentation (Run a query when certain values change), the Watched Inputs feature should allow detecting changes in other queries or component states. However, in my app, it doesn't reference any existing components or queries and simply shows No Data.

How can I resolve this issue? Am I misunderstanding how this feature works?

Hi @jaey,

I have never seen this feature in action. I know it's not what you want to hear, though there are many workarounds depending on your needs. @Darren has a good one here.

If you share a couple more screenshots and your query we can help further.

Hey @jaey,

I think this relates to variables within your query, e.g.

After adding table1.selectedSourceRow, I can refer to it in teh watched inputs:

I'm guessing this is helpful when you have your query's behavior set up as manual, and want to somehow recreate the "Automatic" run on certain variables changing but not on all of them?

1 Like

Ah, thanks @MiguelOrtiz! I knew it didn't make sense if the query was set to Automatic and @jaey is correct in that there is nothing specific in the documentation.
It makes complete sense to relate it to the variables in the query though it would be nice to be able to link them to any component. @Darren has a nice workaround for this.

2 Likes

It seems to be related to variables within the query, as @MiguelOrtiz mentioned. The query variables can be referenced. It would have been nice if the documentation explained this well. I also checked out @Darren 's workaround. Thank you!

1 Like