annoying text input things

pull/2/head
vilmibm 2023-03-16 07:04:32 +00:00
parent bf2f2e3790
commit 852a104300
1 changed files with 8 additions and 2 deletions

View File

@ -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)