Serenity.EnumFormatter.format(YourRootNamespace.YourModule.YourEnumType, value) doesn't resolve enum description #6981
Closed
elenaaralla
started this conversation in
General
Replies: 2 comments
-
In your
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @rhemasystems, it works, thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to use the Serenity.EnumFormatter.format(YourRootNamespace.YourModule.YourEnumType, value) but it doesn't resolve enum.
The enumDescr returned is 2 instead of day
In my xyzGrid.ts I have this code:
this is my enum FrequencyUnit.cs:
and this is the generated file in servertypes.web
What am I missing?
Thank you,

Elena.
Beta Was this translation helpful? Give feedback.
All reactions