go-admin: github.com/GoAdminGroup/go-admin/template/types/form Index | Files

package form

import "github.com/GoAdminGroup/go-admin/template/types/form"

Index

Package Files

form.go

func GetFormTypeFromFieldType Uses

func GetFormTypeFromFieldType(typeName db.DatabaseType, fieldName string) string

type Layout Uses

type Layout uint8
const (
    LayoutDefault Layout = iota
    LayoutTwoCol
    LayoutFlow
    LayoutTab
)

type Type Uses

type Type uint8
const (
    Default Type = iota
    Text
    SelectSingle
    Select
    IconPicker
    SelectBox
    File
    Password
    RichText
    Datetime
    DatetimeRange
    Radio
    Email
    Url
    Ip
    Color
    Currency
    Number
    NumberRange
    TextArea
    Custom
    Switch
)

func (Type) IsMultiSelect Uses

func (t Type) IsMultiSelect() bool

func (Type) IsRange Uses

func (t Type) IsRange() bool

func (Type) IsSelect Uses

func (t Type) IsSelect() bool

func (Type) SelectedLabel Uses

func (t Type) SelectedLabel() []string

func (Type) String Uses

func (t Type) String() string

Package form imports 1 packages (graph) and is imported by 10 packages. Updated 2020-01-25. Refresh now. Tools for package owners.