MCPcopy
hub / github.com/basecamp/once / CheckboxField

Struct CheckboxField

internal/ui/form.go:112–116  ·  view source on GitHub ↗

CheckboxField

Source from the content-addressed store, hash-verified

110// CheckboxField
111
112type CheckboxField struct {
113 label string
114 checked bool
115 disabledFn func() (disabled bool, text string)
116}
117
118func NewCheckboxField(label string, checked bool) *CheckboxField {
119 return &CheckboxField{label: label, checked: checked}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected