Inquirer.js icon indicating copy to clipboard operation
Inquirer.js copied to clipboard

[Feature] Allow undefined as a default

Open coloradude opened this issue 1 year ago • 1 comments

Currently you are unable to return undefined as a default which prevents the ability to use default parameters in the prompt function if the user declines to input anything. As of now it always returns an empty string.

coloradude avatar Mar 29 '24 10:03 coloradude

https://github.com/SBoudrias/Inquirer.js/pull/1377

coloradude avatar Mar 29 '24 10:03 coloradude