Fix errors

This commit is contained in:
Nikolaj Geisle
2022-02-21 12:49:17 +01:00
parent cb44dc70f3
commit 57f32100cb
8 changed files with 24 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ namespace Umbraco.Cms.Core.Models.ContentEditing
public class PropertyTypeValidation
{
[DataMember(Name = "mandatory")]
public bool? Mandatory { get; set; }
public bool Mandatory { get; set; }
[DataMember(Name = "mandatoryMessage")]
public string? MandatoryMessage { get; set; }