PropertyFilter on Enum

is this a bug?
when use PropertyFilter with enum, i get the following exception:
image
the enumeration definition is:
image

i found the enum is converted to string at
image

i am wondering if there is anything wrong with that I did. thanks

Hi,

The PropertyFilter component correctly handles enum values. Could you share the <propertyFilter .../> definition? What Jmix version do you use? Also, your enum doesn’t look like Jmix Studio generated. Did you create it manually?

Gleb

hi Gleb, you are right. it works if I follow the pattern of Jmix enum(define the field as string, and then define getter/setter as enum), instead of using JPA standard(@Enumerated(EnumType.STRING)))