* Deprecate IsRequired on Email datatype * Add Obsolete to IsRequired in EmailAddressConfig
16 lines
598 B
C#
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; }
|
|
}
|
|
}
|