promptui icon indicating copy to clipboard operation
promptui copied to clipboard

Don't show error prompt until user inputs something

Open eandre opened this issue 3 years ago • 1 comments

When a prompt is given a validation function that fails on the empty string, the user experience of immediately being shown an "X" can be jarring. Instead track whether the user has ever input something, and if they haven't render the initial prompt instead.

eandre avatar Mar 01 '21 16:03 eandre

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 01 '21 16:03 CLAassistant