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

<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