MCPcopy Index your code
hub / github.com/coder/coder / multiSelectModel

Struct multiSelectModel

cli/cliui/select.go:449–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449type multiSelectModel struct {
450 search textinput.Model
451 options []*multiSelectOption
452 cursor int
453 message string
454 canceled bool
455 selected bool
456 isCustomInputMode bool // track if we're adding a custom option
457 customInput string // store custom input
458 enableCustomInput bool // control whether custom input is allowed
459}
460
461func (multiSelectModel) Init() tea.Cmd {
462 return nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected