From 724eca75756eb918adc6be22cbec85d57c7a8ac8 Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Tue, 12 Feb 2019 08:10:18 +0100 Subject: [PATCH] #4490 - Fixed the TextArea configuration, to match the text in the tour --- src/Umbraco.Web/PropertyEditors/TextAreaConfiguration.cs | 4 ++-- .../PropertyEditors/TextAreaConfigurationEditor.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 +}