Workaround for lack of pre-filled default text using input.textAsync?

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

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”.

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.