This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
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 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”.