How to provide init name in Lookup fields

How to show init name like “<-Select->” (any default name) for Lookup fields.
Please find the attached image for reference.

select

Hello,

take a look at the nullName option. I think it is what you need.

Best regards,
Daniil.

Also, you can use inputPrompt option: XML-Attributes of Components - CUBA Platform. Developer’s Manual


<lookupField optionsEnum="com.haulmont.cuba.security.entity.RoleType"
             inputPrompt="Select Role"/>

Thanks, inputPrompt is working fine for lookupField.

But how to do the same init default option for Enums and Association as Attribute types. Because while using Enums and Associations also we will get dropdowns.