Replies: 1 comment
-
Ah! If you add
So it is doable -- just a bit tricky to discover. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pressing
Enter
will not get the user out of aTextPrompt<string>()
as it won't even look at the.Validate(_ => true)
until the user has entered some sort of text.I'd like to add a
.NoValidation()
to my prompt creation to skip all validation.I'm prompting to add a name to a list, and if the user changes their mind, I'd like them to be able to exit just by hitting
Enter
.The Validation is cool -- just not always wanted.
Beta Was this translation helpful? Give feedback.
All reactions