input_select

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OriginDataTable

type OriginDataTable interface {
	OriginDataTable() map[string]string
}

type Select

type Select struct {
	Data OriginDataTable
}

func (Select) Build

func (s Select) Build(id, field_name string, skip_completion_allowed bool) string

func (Select) BuildTagSelect

func (s Select) BuildTagSelect(selectName, cssClassName, title string) string

func (Select) GetAllTagOption

func (s Select) GetAllTagOption() (opt string)

retorna strin html option de un select

func (Select) GoodTestData

func (s Select) GoodTestData(table_name, field_name string, random bool) (out []string)

func (Select) HtmlName

func (s Select) HtmlName() string

func (Select) LabelOptSelect

func (s Select) LabelOptSelect(key, value string) (opt string)

etiqueta html option de un select [value=id name= texto a mostrar]

func (Select) Name

func (s Select) Name() string

func (Select) Validate

func (s Select) Validate(data_in string, skip_validation bool) (ok bool)

validacion con datos de entrada

func (Select) WrongTestData

func (s Select) WrongTestData() (out []string)

Jump to

Keyboard shortcuts

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