diff options
| author | Jeff Carr <[email protected]> | 2024-01-11 17:19:47 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-11 17:19:47 -0600 |
| commit | c4582b0b30e3020a92baf299572d8617872d45e5 (patch) | |
| tree | c678b4f165bf4db0d9975df4b360925e8e9930ca /andlabs/textbox.go | |
| parent | 4bf330767195a00de7fc0538228bcf0305143434 (diff) | |
type value any
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/textbox.go')
| -rw-r--r-- | andlabs/textbox.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/andlabs/textbox.go b/andlabs/textbox.go index 7cb5d63..d766b45 100644 --- a/andlabs/textbox.go +++ b/andlabs/textbox.go @@ -14,7 +14,7 @@ func (p *node) newTextbox(n *node) { newt.uiControl = e e.OnChanged(func(spin *ui.Entry) { - n.S = spin.Text() + n.value = spin.Text() n.doUserEvent() }) } else { @@ -23,7 +23,7 @@ func (p *node) newTextbox(n *node) { newt.uiControl = e e.OnChanged(func(spin *ui.MultilineEntry) { - n.S = spin.Text() + n.value = spin.Text() n.doUserEvent() }) } |
