This won’t work as expected, because 1) the syntax is wrong, and 2) you cannot get the value of the first field on the fly (i.e. when the value of the pages field changes).
Syntax would have to be
query: site.find(page.project.toPage).images
This might show an error if there is no page selected (and saved) yet.
I just get back on another project with the same situation where I would like to select one image from a project subpage I would select on a first field.
Is there any approach to make this more seemless without any error or even without any reload?
Can I make it save/reload/reopen the block drawer automatically when I select the page? (I think I’m being delusional here haha)