#4490 - Fixed the TextArea configuration, to match the text in the tour

This commit is contained in:
Bjarke Berg
2019-02-12 08:10:18 +01:00
parent 3f314fe5be
commit 724eca7575
2 changed files with 4 additions and 4 deletions

View File

@@ -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; }
}
}

View File

@@ -5,6 +5,6 @@ namespace Umbraco.Web.PropertyEditors
/// <summary>
/// Represents the configuration editor for the textarea value editor.
/// </summary>
public class TextAreaConfigurationEditor : ConfigurationEditor
public class TextAreaConfigurationEditor : ConfigurationEditor<TextAreaConfiguration>
{ }
}
}