ответвлено от tildetown/town
annoying text input things
Этот коммит содержится в:
родитель
bf2f2e3790
Коммит
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)
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user