UI Extension, filtering in dialogs.selectMultipleEntries


Im creating a UIX and need a way to selecting entries, all of the same content type but with different content referenced within them. The entries of this specific content type are used as containers and I need to reference these containers from other entries.

My issue is that the dialogs.selectEntry and selectMultipleEntries only accept content type as input. I would like to provide other query parameters (like for space.getEntries) to filter before showing the results to the user.

So basically I’d like to do something like this:

contentTypes: [""],
‘fields.contentType.sv[in]’: “content1, content2”

Any ideas?