textInput

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialTextInputModel

func InitialTextInputModel(output *string, config *Config) model

InitialTextInputModel initializes a textinput step with the given data

Types

type Config added in v0.4.0

type Config struct {
	Header       string
	Placeholder  string
	Validation   textinput.ValidateFunc
	MaxChar      int
	Width        int
	DisabledExit bool
}

Jump to

Keyboard shortcuts

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