Versions in this module Expand all Collapse all v0 v0.5.0 Apr 28, 2024 Changes in this version + var ErrEmptyValue = errors.New("empty input value") + var ErrInvalidSymbol = errors.New("invalid symbol") + func ValidateB64(s string) error + func ValidateHex(s string) error + type CanceledMsg struct + type DoneMsg struct + Value string + type ErrorMsg struct + Err error + type InvalidMsg struct + Err error + Value string + type StyleFn func(m *textinput.Model) + type ValidatedInput struct + func NewValidatedInput(validationFn func(string) error, setValidStyleFn, setInvalidStyleFn StyleFn) *ValidatedInput + func (m *ValidatedInput) Init() tea.Cmd + func (m *ValidatedInput) Input() *textinput.Model + func (m *ValidatedInput) IsValid() bool + func (m *ValidatedInput) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m *ValidatedInput) Value() string + func (m *ValidatedInput) View() string