Replies: 2 comments 3 replies
-
You need to define |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, with the cast it works. Anyways, it seems, that the
If I set a breakpoint into the line |
Beta Was this translation helpful? Give feedback.
3 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I have a Select, which contains a List of Companies. Anyway, From the EF, I therefore have a nullable Property
int? CompanyId
, because I want that value to be optional. I need this to benull
and not0
, because otherwise EF will look for a reference of the ID0
, which is not contained within my database and throw an exception. How can I depict this properly in Blazorise? If I set theTValue
of the Select toint?
everything works, but I need an element in the List, with the valuenull
. Therefore, the following code does not work:Beta Was this translation helpful? Give feedback.
All reactions