Fixes: U4-7660 [7.4 Fix] Added a default value to the Umbaco.TrueFalse datatype. Thanks Jeremy Pyne
This commit is contained in:
@@ -6,5 +6,15 @@ namespace Umbraco.Web.PropertyEditors
|
||||
[PropertyEditor(Constants.PropertyEditors.TrueFalseAlias, "True/False", "INT", "boolean", IsParameterEditor = true, Group = "Common", Icon="icon-checkbox")]
|
||||
public class TrueFalsePropertyEditor : PropertyEditor
|
||||
{
|
||||
protected override PreValueEditor CreatePreValueEditor()
|
||||
{
|
||||
return new TrueFalsePreValueEditor();
|
||||
}
|
||||
|
||||
internal class TrueFalsePreValueEditor : PreValueEditor
|
||||
{
|
||||
[PreValueField("default", "Default Value", "boolean")]
|
||||
public string Default { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user