YML how to limit select options in kirby panel to only images with a specific template

Hello, I have a question for you

I am working on the yml file

containerb:
    label: testX
    type: files
    layout: cards
    uploads: test
    min: 1

“uploads” adds me the name of the template test and that’s cool because I want to have specific images in a particular place, but how to make it so that in the kirby cms panel when I click the select option it doesn’t show me files that don’t have the template test?

I very much count on your help, thank you very much for your time.