Page Field no subpages available when using query

i’ve triend to select two pages with a query and show them and the child pages.
i tried to use the subpages setting, but it only works when i don’t use any query.
My Blueprint looks like this:

                label: Page
                type: pages
                required: true
                min: 1
                max: 1
                query: site.index.filterBy("slug", "in", ["projects", "auctions"])
                subpages: true
                depth: 2

any idea how to solve this?

The subpages property only works if the quried pages have the same parent. When you use the $site->index(), you get a flat list of pages.

If the queried pages are both direct children of the site, you can replace site.index with pages