Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Unfortunatly, if property is empty, razor always throw InvalidCastException, means imposible to leave that property not mandatory :(
I think it would be great if property returns an empty HtmlString
I have opened a ticket in github with this. I'll take a look.
I have released a new v2.2.1 version that fixes this. Please give it a try.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted