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
Hi,
It seems like a check for the SEO title field never returns null or empty unless you actually enter something into it and delete it.
I'm using essentially the sample view you've shared to check for it. Thoughts?
Thanks!Amir
Hi Amir,
I think this is my error. The function part should read:
@functions { private bool IsNullOrEmpty(object property) { return property == null || String.IsNullOrEmpty(property.ToString()); } }
I am going to update the project page - thank you and my apologies.
Regards, Luke
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Title Field Isn't Empty by Default
Hi,
It seems like a check for the SEO title field never returns null or empty unless you actually enter something into it and delete it.
I'm using essentially the sample view you've shared to check for it. Thoughts?
Thanks!
Amir
Hi Amir,
I think this is my error. The function part should read:
I am going to update the project page - thank you and my apologies.
Regards, Luke
is working on a reply...