manifoldco/promptui

Run validation after return key

jsanz-cyracom opened this issue · 0 comments

I have a scenario where I need to make a web request in the validation function of a prompt. If use the current validate function it would make a web request for every keystroke when running the prompt. It would be useful to introduce a ValidateR property where the function only gets executed after the user presses the return key.