diff --git a/src/Umbraco.Web/PropertyEditors/TextAreaConfiguration.cs b/src/Umbraco.Web/PropertyEditors/TextAreaConfiguration.cs index e00252b076..86a4184307 100644 --- a/src/Umbraco.Web/PropertyEditors/TextAreaConfiguration.cs +++ b/src/Umbraco.Web/PropertyEditors/TextAreaConfiguration.cs @@ -8,9 +8,9 @@ namespace Umbraco.Web.PropertyEditors public class TextAreaConfiguration { [ConfigurationField("maxChars", "Maximum allowed characters", "number", Description = "If empty - no character limit")] - public int MaxChars { get; set; } + public int? MaxChars { get; set; } [ConfigurationField("rows", "Number of rows", "number", Description = "If empty - 10 rows would be set as the default value")] - public int Rows { get; set; } + public int? Rows { get; set; } } } diff --git a/src/Umbraco.Web/PropertyEditors/TextAreaConfigurationEditor.cs b/src/Umbraco.Web/PropertyEditors/TextAreaConfigurationEditor.cs index d02a222590..210a571c17 100644 --- a/src/Umbraco.Web/PropertyEditors/TextAreaConfigurationEditor.cs +++ b/src/Umbraco.Web/PropertyEditors/TextAreaConfigurationEditor.cs @@ -5,6 +5,6 @@ namespace Umbraco.Web.PropertyEditors /// /// Represents the configuration editor for the textarea value editor. /// - public class TextAreaConfigurationEditor : ConfigurationEditor + public class TextAreaConfigurationEditor : ConfigurationEditor { } -} \ No newline at end of file +}