Have a look at the dynamic enum picker.
https://marketplace.mendix.com/link/component/111237
Alternatively, you can turn the enumeration into a seperate entity and use a reference selector.
The reference selector allows you to filter the list of selectable objects.
https://docs.mendix.com/refguide/reference-selector/#selectable-objects