form_ui

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusSuccess = "success"
	StatusError   = "error"
)

Variables

This section is empty.

Functions

func Autofocus

func Autofocus() gox.Node

func Field

func Field(nodes ...gox.Node) gox.Node

func Section added in v0.2.5

func Section(title string, nodes ...gox.Node) gox.Node

Types

type Props

type Props struct {
	Id          string
	Name        string
	Label       string
	Value       string
	Placeholder string
	Status      string
	Messages    []string
	Autofocus   bool
	Disabled    bool
	Required    bool
}

Jump to

Keyboard shortcuts

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