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: https://doc.cuba-platform.com/manual-6.6/gui_attributes.html#gui_attr_inputPrompt


<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.