Documentation ¶
Index ¶
- Variables
- func DefaultHTML(value string) template.HTML
- func GetFormTypeFromFieldType(typeName db.DatabaseType, fieldName string) string
- func HiddenInputHTML(field, value string) template.HTML
- type Layout
- type Type
- func (t Type) FixOptions(m map[string]interface{}) map[string]interface{}
- func (t Type) GetDefaultOptions(field string) (map[string]interface{}, map[string]interface{}, template.JS)
- func (t Type) IsArray() bool
- func (t Type) IsCode() bool
- func (t Type) IsCustom() bool
- func (t Type) IsDate() bool
- func (t Type) IsDateRange() bool
- func (t Type) IsDateTime() bool
- func (t Type) IsDateTimeRange() bool
- func (t Type) IsFile() bool
- func (t Type) IsMultiFile() bool
- func (t Type) IsMultiSelect() bool
- func (t Type) IsRange() bool
- func (t Type) IsSelect() bool
- func (t Type) IsSingleSelect() bool
- func (t Type) IsSlider() bool
- func (t Type) IsTable() bool
- func (t Type) Name() string
- func (t Type) SelectedLabel() []template.HTML
- func (t Type) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var AllType = []Type{Default, Text, Array, SelectSingle, Select, IconPicker, SelectBox, File, Multifile, Password, RichText, Datetime, DatetimeRange, Checkbox, CheckboxStacked, Radio, Table, Email, Url, Ip, Color, Currency, Number, NumberRange, TextArea, Custom, Switch, Code, Rate, Slider, Date, DateRange, CheckboxSingle}
Functions ¶
func DefaultHTML ¶
func GetFormTypeFromFieldType ¶
func GetFormTypeFromFieldType(typeName db.DatabaseType, fieldName string) string
func HiddenInputHTML ¶
Types ¶
type Type ¶
type Type uint8
func (Type) FixOptions ¶
func (Type) GetDefaultOptions ¶
func (Type) IsDateRange ¶
func (Type) IsDateTime ¶
func (Type) IsDateTimeRange ¶
func (Type) IsMultiFile ¶
func (Type) IsMultiSelect ¶
func (Type) IsSingleSelect ¶
func (Type) SelectedLabel ¶
Click to show internal directories.
Click to hide internal directories.