Bind DatagridSelectColumn to an Enum Field (cast error) #5069
michele-bettin
started this conversation in
General
Replies: 1 comment 9 replies
-
Hello @michele-bettin Thanks! |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys! I prepared a quick demo to explain my problem to you.
I have a data model that has an Enum for the Role properties (not a string, because that would make my app inconsistent). When I want to modify a Employee with my dropdown blasorise is unable to understand that the Value of the select is an enumeration and cast but it gives me an error telling me that it is unable to convert String to UsersRoles.
Does anyone have any suggestions on how to do this?
Beta Was this translation helpful? Give feedback.
All reactions