Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2022 Changes in this version + type Button struct + Id string + Label string + Name string + Type string + Value string + func (b *Button) Render(tplPath string, w io.Writer) error + type Checkbox struct + Id string + Label string + Name string + Required bool + Value string + func (c *Checkbox) Render(tplPath string, w io.Writer) error + type DataList struct + Id string + Label string + Multiple bool + Name string + Options []string + Required bool + Size int + Type string + func (d *DataList) Render(tplPath string, w io.Writer) error + type Field interface + Render func(string, io.Writer) error + type Input struct + AutoComplete bool + AutoFocus bool + Disabled bool + Id string + Label string + Max string + MaxLength int + Min string + Name string + Pattern string + Placeholder string + ReadOnly bool + Required bool + Size int + Type string + Value string + func (i *Input) Render(tplPath string, w io.Writer) error + type RadioGroup struct + Label string + Name string + Required bool + Values []RadioValue + func (r *RadioGroup) Render(tplPath string, w io.Writer) error + type RadioValue struct + Checked bool + Id string + Label string + Value string + type Select struct + Id string + Label string + Multiple bool + Name string + Options []SelectOption + Required bool + Size int + func (s *Select) Render(tplPath string, w io.Writer) error + type SelectOption struct + Label string + Selected bool + Value string + type TextArea struct + AutoComplete bool + AutoFocus bool + Cols int + Disabled bool + Id string + Label string + MaxLength int + Name string + Placeholder string + ReadOnly bool + Required bool + Rows int + Value string + func (t *TextArea) Render(tplPath string, w io.Writer) error v0.0.1 Oct 30, 2022