Skip to content

Are View Model Properties Required by Default Now? #14955

Closed Answered by ns8482e
fuzl-llc asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure if this is related to orchard core! It may be just .net related to nullable.

For example, If you are using string (and not string?) without defining required attribute it will expect not null string

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fuzl-llc
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants