form

package
v1.1.601 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFormTypeFromFieldType

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

Types

type Layout

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

type Type

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 added in v1.1.22

func (t Type) IsMultiSelect() bool

func (Type) IsRange

func (t Type) IsRange() bool

func (Type) IsSelect

func (t Type) IsSelect() bool

func (Type) SelectedLabel

func (t Type) SelectedLabel() []string

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL