My lookup fields that work with enums are displaying strangely. Some items are displayed in the form “Entity.value” and some just display oddly spaced out characters (ex. “P L A Y E R S”) . I really just want the values to display in the drop-down. What is the best way to format the displayed data in the lookup fields when pulled from enums?
Unfortunately we cannot reproduce the problem as described.
Could you prepare a simple project which will illustrate the problem and share it here?
The project can be archived using the zipProject gradle task.
We figured it out. You have to go into the messages.properties file that is in the same folder that the enum is used in and set the values.
Phone.PHONENUMBER = Phone Number