Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportValidity ¶
ReportValidity reports the validity of the form.
func SetRequired ¶
SetRequired sets the input element to be required for the form.
Types ¶
type DateField ¶
type DateField struct {
Title, Placeholder string
Update *clientside.String
Required bool
Theme FieldTheme
}
type EmailField ¶
type EmailField struct {
Title, Placeholder string
Update *clientside.String
Required bool
Theme FieldTheme
}
func (EmailField) AddTo ¶
func (field EmailField) AddTo(c seed.Seed)
type FieldTheme ¶
type FloatField ¶
type FloatField struct {
Title, Placeholder string
Update *clientside.Float64
Checker client.Script
Required bool
Theme FieldTheme
}
func (FloatField) AddTo ¶
func (field FloatField) AddTo(c seed.Seed)
type PasswordField ¶
type PasswordField struct { Title string Required bool Theme FieldTheme Update *clientside.Secret Confirm bool }
func (PasswordField) AddTo ¶
func (field PasswordField) AddTo(c seed.Seed)
Click to show internal directories.
Click to hide internal directories.