Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum properties are rendered as integers instead of their display labels #763

Closed
karolis-zukauskas opened this issue Nov 4, 2024 · 1 comment · Fixed by iTwin/itwinjs-core#7345, iTwin/itwinjs-core#7359 or iTwin/itwinjs-core#7358
Assignees
Labels
bug Something isn't working presentation

Comments

@karolis-zukauskas
Copy link

Enum properties are rendering as integer values. They should be rendered as display labels defined in Schema enum definition.

This can be reproduced in presentation test-app. Here property color should be rendered as "Red" instead of "0".
Image

Tested on master branch, commit 8c7a3064

@grigasp
Copy link
Member

grigasp commented Nov 15, 2024

@karolis-zukauskas, the fix was just released with itwinjs-core packages 4.10.1 - please give that a shot and let us know if the change fixed the issue for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment