Dynamic data in blocks

Hello,
What I want to do may be impossible, in which case I would welcome any thoughts on how to implement it a different way in Kirby. Is it possible to have dynamic data in a block? With dynamic data I mean data based on a previous choice in the block.

I have the following use case:
I have a custom content type Member. A member can have one or multiple dogs. All the info of the dog is recorded in a structure field on the member page.

As a member can compete in different contests with different dogs I want to make a custom block where a content author can choose to display the participants of a contest and indicate which of the dogs participated and add a result.

I am able to get the member info in the block, through a pages field, but don’t know if it is possible to pass the member info so that I can query the structure field in the block.

contestant:
  label: Contestant
  type: pages
  search: true
  max: 1
  query: site.index.filterBy("template", "in", ["member"])

Any advice welcome

No, that’s not possible out of the box, because you would need a listener on the contestant
field to then be able to make an API request to get the dogs of the member and insert the result into the dogs selector field.

A more simple solution to this would be to use a select/multiselect field with a flat list of options, like

user1-dog1
user1-dog2
user2-dog1

etc.

Not that nice, but much simpler than to implement a custom field combination.