Documentation
¶
Index ¶
- Constants
- func Check(data sourceData, options ...string) model.Input
- func DataList(data sourceData) model.Input
- func Date() model.Input
- func DateAge(options ...string) model.Input
- func DayWord(options ...string) model.Input
- func DvRut(rut int) string
- func FilePath(options ...string) model.Input
- func Hour(options ...string) model.Input
- func Info(value string) model.Input
- func Ip() model.Input
- func Mail() model.Input
- func MonthDay(options ...string) model.Input
- func NormalizeTextData(in *string)
- func Number(options ...string) model.Input
- func Password(options ...string) model.Input
- func Pk(options ...string) model.Input
- func Radio(data sourceData, options ...string) model.Input
- func RemoveAcent(in string) (out string)
- func RemoveUfeffFromString(in *string)
- func Rut(options ...string) model.Input
- func RutNormalize(rutIn *string) bool
- func SelecTag(data sourceData) model.Input
- func Text(options ...string) model.Input
- func TextArea(options ...string) model.Input
- func TextNum() model.Input
- func TextNumCode() model.Input
- func TextOnly(options ...string) model.Input
- func TextSearch() model.Input
Constants ¶
const DefaultValidateFunction = `validateField(this)`
Variables ¶
This section is empty.
Functions ¶
func NormalizeTextData ¶
func NormalizeTextData(in *string)
remueve tildes,espacio blanco inicio-final y todo a minúscula
func Number ¶
options ej: data-type, data-after=" Años", pattern="^[0-9]{1,20}$",... this default hidden, el campo se mantendrá oculto title="xxx"
func Password ¶
options: ej: min="2", max="10", hidden.... min mínimo de caracteres permitidos ej: 3 o 5 ... min default 5 max máximo de caracteres permitidos ej: 20 50 ... max default 50 pattern_start="^[A-Za-zÑñ 0-9:.-]{" pattern_end="}$"
func Pk ¶
Primary key parámetro opcional: "show": el campo se mostrara el usuario por defecto estará oculto
func RemoveAcent ¶ added in v0.0.2
func RemoveUfeffFromString ¶
func RemoveUfeffFromString(in *string)
func Rut ¶
parámetro opcionales: hide-typing: ocultar información al escribir dni-mode: acepta documentos extranjeros
func RutNormalize ¶
func Text ¶
parámetros opcionales: "hidden" si se vera oculto o no. placeholder="Escriba Nombre y dos apellidos" title="xxx"
func TextArea ¶
options: pattern="`^[a-zA-Z 0-9\:\.\,\+\-]{0,30}$`" title="permitido letras números - , :" cols="2" default 1 rows="8" default 3
func TextNumCode ¶
func TextSearch ¶
Types ¶
This section is empty.
Source Files
¶
- adapters.go
- add-default.go
- array-string.go
- attrib-build-tag.go
- attrib-model.go
- attrib-set.go
- check-js.go
- check.go
- check_crud.go
- check_tag.go
- check_test_data.go
- datalist.go
- datalist_tag.go
- datalist_test_data.go
- date.go
- dateage.go
- dateage_registes.go
- dayword.go
- dayword_register.go
- dayword_test_data.go
- dayword_validate.go
- filePath.go
- hour.go
- info.go
- ip.go
- mail.go
- monthDay.go
- normalize-text.go
- number.go
- password.go
- pk.go
- radio.go
- radio_registers.go
- radio_tag.go
- rut-test-data.go
- rut.go
- rut_normalize.go
- rut_validate.go
- select.go
- select_tag.go
- text.go
- textArea.go
- textArea_testing_data.go
- textArea_validate.go
- textNum.go
- textNumCode.go
- textOnly.go
- textSearch.go
- xtra-test-data.go