DefaultInputGenerator

Controls how the input HTML is generated

Members

Static functions

checkbox
string checkbox(string name, bool checked, string raw, bool success, string[] classes)

Called for boolean values

checkboxList
string checkboxList(string name, BitFlags!Enum value, string raw, bool success, string[] classes)

Called for BitFlags displayed as list of checkboxes.

dropdownList
string dropdownList(string name, Enum value, string raw, bool success, string[] classes)

Called for enums disabled as select (you need to iterate over the enum members)

optionList
string optionList(string name, Enum value, string raw, bool success, string[] classes)

Called for enums displayed as list of radio boxes (you need to iterate over the enum members)

textarea
string textarea(string name, string value, string raw, bool success, string[] classes)

Called for textareas

textfield
string textfield(string name, string type, string value, string raw, bool success, string[] classes)

Called for single line input types

Meta