Show Enum via toString() instead of name()
mydeadlyvenoms opened this issue · comments
Damiano Esposito commented
When using columns implemented as enums, filtering applies to the toString()
value, which is great. Wouldn't it make sense to also use the toString()
value of an enum instead of name()
within the view? I know a possible "workaround" is to create a custom facelet tag.
Bauke Scholtz commented
Clever.
Damiano Esposito commented
Hi @BalusC
I can confirm it works for Enum
(s), can you also enable it for @ElementCollection
(s) containing Enum(s)?
Thank you very much for your help!
Damiano Esposito commented
@BalusC can we also reopen this one (@ElementCollection
is missing)?
Bauke Scholtz commented
Fixed.
Damiano Esposito commented
Same here, I can confirm that it works. 👍