mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 10:07:55 +08:00
Defining default values on TextFieldSettings
--HG-- branch : 1.x
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
namespace Orchard.Core.Common.ViewModels {
|
||||
public class TextFieldSettingsEventsViewModel {
|
||||
public TextFieldSettingsEventsViewModel() {
|
||||
Flavors = new string[0];
|
||||
}
|
||||
|
||||
public TextFieldSettings Settings { get; set; }
|
||||
public string[] Flavors { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user