Unfortunately input.textAsync does not allow a default value. Anyone have a workaround for this? E.g., You can code a default value if user enters nothing, BUT…there’s no way to enter nothing (i.e., requires user to enter a value before proceeding).
Page 1 / 1
I have two main ways of dealing with this.
I start by using a button field with one button per common value, and a final button that lets the user enter a custom value. I only show
input.textAsync()
if the user selects the button to enter a custom value.
I preface the input call by instructing the user to type a single space to indicate “no value”.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.