Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

v1.7.1: Prompt again (#165)

Compare
Choose a tag to compare
@AlecAivazis AlecAivazis released this 11 Dec 09:26
· 130 commits to master since this release
* survey: pass previous invalid value to Prompt

Support different behavior after a validation error in repeated prompts.

Signed-off-by: Mate Ory <[email protected]>

* editor: recall previous invalid input

Recall the previous invalid input in the repeated prompt so the user
doesn't have to start over typing the answer.

Signed-off-by: Mate Ory <[email protected]>

* survey_test: check recalling invalid Editor input

* tests: add prompt-again editor manual test