forked from tildetown/town
annoying text input things
parent
bf2f2e3790
commit
852a104300
|
@ -320,8 +320,14 @@ func _main() error {
|
|||
}
|
||||
emailVal := signups[signupIx].Email
|
||||
providedEmailView.SetText(emailVal)
|
||||
cleanEmailInput.SetPlaceholder(
|
||||
strings.TrimSpace(strings.ReplaceAll(emailVal, "\n", " ")))
|
||||
/*
|
||||
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(
|
||||
strings.TrimSpace(strings.ReplaceAll(emailVal, "\n", " ")))
|
||||
*/
|
||||
decisionFI.SetCurrentOption(0)
|
||||
pages.SwitchToPage("review")
|
||||
app.SetFocus(cleanEmailInput)
|
||||
|
|
Loading…
Reference in New Issue