# Enums as a value, label pair?

**URL:** <https://jsonforms.discourse.group/t/enums-as-a-value-label-pair/239>\
**Category:** General\
**Created:** [August 5, 2019, 2:19pm UTC](https://jsonforms.discourse.group/t/enums-as-a-value-label-pair/239 "2019-08-05T14:19:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![discobot](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/discobot/32/3_2.png) [@discobot](https://jsonforms.discourse.group/u/discobot)\
**Post date:** [August 5, 2019, 2:19pm UTC](https://jsonforms.discourse.group/t/enums-as-a-value-label-pair/239/1 "2019-08-05T14:19:24Z")

</div>

Hi!

Is it possible to have an enum where you can set a label for each value?

I have a use case where I want to display the name of the lists, but the backend uses the id of the lists.

Edit: Found a related issue: [Support for customizing option labels in enum renderer · Issue #990 · eclipsesource/jsonforms · GitHub](https://github.com/eclipsesource/jsonforms/issues/990)  
It’s old so wondering it is still not supported.

_[[original thread](https://spectrum.chat/jsonforms/general/enums-as-a-value-label-pair~9ca429c3-d7dd-43fd-9d66-4133daba2bda) by Ricardo Guntur]_

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [August 6, 2019, 11:34am UTC](https://jsonforms.discourse.group/t/enums-as-a-value-label-pair/239/2 "2019-08-06T11:34:45Z")

</div>

Hi! Thanks for your question. We try to keep all our issues up to date, so yes, this was not yet implemented. We don’t plan to implement this feature in the near future (this is why it’s in the backlog), however we would definitely look at any PR you might provide 😉
