LookupField show only show Enum options

Hi, I only want to show Submitted and Under_review only from my SpaceRentalStatusEnums, any idea on how i can do that? I looked up and saw setOptionsEnum and i was wondering how i can use that, Thanks.
Below is my code for reference :
public enum SpaceRentalStatusEnums implements EnumClass {

SUBMITTED("Submitted"),
UNDER_REVIEW("Under Review"),
APPROVED("Approved"),
CANCELED("Cancelled"),

   <lookupField id="statusEnumsLookupField" property="status"
                                     optionsEnum="com.company.pbksb.entity.SpaceRentalStatusEnums"
                                     caption="Status"/>

Hi,
You need to inject this component to the screen controller,
and then call setOptionsList() method, e.g in onInit() or onBeforeShow() controller’s event handler.

See example in the documentation: LookupField - CUBA Platform. Developer’s Manual