forked from tildetown/town
annoying text input things
parent
bf2f2e3790
commit
852a104300
|
@ -320,8 +320,14 @@ func _main() error {
|
||||||
}
|
}
|
||||||
emailVal := signups[signupIx].Email
|
emailVal := signups[signupIx].Email
|
||||||
providedEmailView.SetText(emailVal)
|
providedEmailView.SetText(emailVal)
|
||||||
|
/*
|
||||||
|
TODO the placeholder doesn't appear to become the default text which is
|
||||||
|
what I wanted it to do. Just taking this out so the blank box beckons
|
||||||
|
input. Also, it seems like the AcceptanceFunc didn't work since a blank
|
||||||
|
value got through.
|
||||||
cleanEmailInput.SetPlaceholder(
|
cleanEmailInput.SetPlaceholder(
|
||||||
strings.TrimSpace(strings.ReplaceAll(emailVal, "\n", " ")))
|
strings.TrimSpace(strings.ReplaceAll(emailVal, "\n", " ")))
|
||||||
|
*/
|
||||||
decisionFI.SetCurrentOption(0)
|
decisionFI.SetCurrentOption(0)
|
||||||
pages.SwitchToPage("review")
|
pages.SwitchToPage("review")
|
||||||
app.SetFocus(cleanEmailInput)
|
app.SetFocus(cleanEmailInput)
|
||||||
|
|
Loading…
Reference in New Issue