Filter an external key in a imx-cdr-editor in Angular Web Portal

I created in Angular Web Portal a new form to create a new entity. One of the fields is a foreign key to a table X (example: FirmPartner).
Using imx-cdr-editor the field will be a drop-down menu containing all the elements of table X.
Is there a way to filter these elements and show only the fields that verify a specific condition?
(for example: digital identity creation, Company field. Show only the FirmPartners that have the IsPartner=true flag or those that have the Email field set).

Thanks in advance,

Fabio