Adds default value support to CheckBoxList data editor setting type
This commit is contained in:
@@ -51,6 +51,8 @@ namespace umbraco.editorControls.SettingControls
|
||||
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(_val) && !string.IsNullOrEmpty(DefaultValue))
|
||||
cbl.SelectedValue = DefaultValue;
|
||||
|
||||
|
||||
return cbl;
|
||||
|
||||
Reference in New Issue
Block a user