Enum is not rendered as combo

I have a form, 2 different enums. one is rendered as combo and one isn’t.

image

    <rows>
    <row flex="1.0">
        <scrollBox id="fieldGroupBox"
                    height="232px"
                    margin="true">
            <fieldGroup id="fieldGroup"
                        datasource="emailTemplateDs"
                        responsive="true"
                        width="100%">
                <column width="100%">
                    <field property="cc"
                            rows="1"
                            width="100%"/>
                    <field property="bcc"
                            rows="1"/>
                    <field property="locale"/>
                    <field property="subject"/>
                    <field property="tenant"/>
                    <field caption="Template Type"
                            property="emailTemplateType"/>
                </column>
            </fieldGroup>
        </scrollBox>
    </row>

The problematic enum:

package com.platform.crm.entity;

import com.haulmont.chile.core.datatypes.impl.EnumClass;

import javax.annotation.Nullable;


    public enum EmailTemplateType implements EnumClass<String> {

        Welcome("welcome"),
        ForgotPassword("forgotpassowrd");

        private String id;

        EmailTemplateType(String value) {
            this.id = value;
        }

        public String getId() {
            return id;
        }

        @Nullable
        public static EmailTemplateType fromId(String id) {
            for (EmailTemplateType at : EmailTemplateType.values()) {
                if (at.getId().equals(id)) {
                    return at;
                }
            }
            return null;
        }
    }

Thanks

Hello @avi.fatal

I cannot reproduce the problem. Could you compare your case with a project shared by me or share your project?

ecc.zip (74.8 KB)

Regards,
Daniil.

Hi, thanks. I have deleted the Enum and recreated. now it is working… sorry I had to move on.
Thanks