output modelstate errors in case a post body can't be converted

This commit is contained in:
2020-08-13 12:03:24 +02:00
parent afd777f99f
commit 175754894d
8 changed files with 39 additions and 15 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ export default [
},
{
tab: 'meta',
field: 'meta.titleOverride',
field: 'meta.titleOverrideAll',
display: 'text',
label: 'Title override all'
},
@@ -27,7 +27,7 @@ export default [
},
{
tab: 'meta',
field: 'meta.seoImage',
field: 'meta.seoImageId',
display: 'media',
label: 'SEO image'
},
@@ -12,7 +12,7 @@ namespace zero.TestData
public string SeoDescription { get; set; }
public Media SeoImage { get; set; }
public string SeoImageId { get; set; }
public bool NoFollow { get; set; }