Restrict the "Relation (Many-To-One) Editable" (and many to many) to a certain MIME type

Hi there,

is there any way I can restrict the Relation Many-To-One Editable to a certain MIME type? It might work via the subtype or class parameter but there is no detailed description in the documentation.

https://pimcore.com/docs/6.x/Development_Documentation/Documents/Editables/Relation_(Many-To-One).html

Thanks in advance!