Discover Packages
github.com/Cameron-Hill/bubbleform
package
module
Version:
v0.0.0-...-f10f9a5
Opens a new window with list of versions in this module.
Published: Apr 26, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
ΒΆ
Under construction...
Bubble forms is a utility library for building and validating forms in bubbletea TUI applications.
Expand βΎ
Collapse β΄
Documentation
ΒΆ
type Field interface {
Value() string
SetError(err error )
ClearError()
}
func NewForm(data interface{}) *Form
Bind a field to a specific struct field
GetErrors returns all validation errors
Submit validates and populates the data struct
Validate all form fields and populate the data struct
Source Files
ΒΆ
Directories
ΒΆ
examples
Click to show internal directories.
Click to hide internal directories.