-
-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
How can you reset the default value to an empty string in the following situation?
stringInputPrompt = "I'm the default value";
stringInputPrompt = Prompt.Input(
$"Please provide a value or press enter to use the default value",
defaultValue: string.IsNullOrEmpty(stringInputPrompt) ? null : stringInputPrompt,
validators: null
);
The goal is to prepopulate the value, so the user doesn't have to re-enter it each time (similar to a setup wizard).
Metadata
Metadata
Assignees
Labels
No labels