Input.textAsync method: Cannot enter an empty value - Bug?

I’m using the following to capture an email address:

email = await input.textAsync(‘Please enter email’);

I want the input to be optional, but the “Next” button only becomes enabled when you type something in -the field. Is there a way to make the field non-mandatory or is this a bug?

If you’re familiar with how Promises work in javascript, there is a workaround for this (although not perfect). I’m going to publish an example later today that uses this workaround. Stay tuned…

Fab! (I’m more of a c# /c++ programmer with limited javascript knowledge!)