Files
Umbraco-CMS/src/Umbraco.Web/PropertyEditors/EmailAddressConfiguration.cs
Steve Temple addc6ae51a Deprecate IsRequired on Email datatype (#8655)
* Deprecate IsRequired on Email datatype

* Add Obsolete to IsRequired in EmailAddressConfig
2020-08-19 14:03:38 +01:00

16 lines
598 B
C#

using System;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents the configuration for the email address value editor.
/// </summary>
public class EmailAddressConfiguration
{
[ConfigurationField("IsRequired", "Required?", "hidden", Description = "Deprecated; Make this required by selecting mandatory when adding to the document type")]
[Obsolete("No longer used, use `Mandatory` for the property instead. Will be removed in the next major version")]
public bool IsRequired { get; set; }
}
}