Open tapyu opened 8 months ago
Consider the following problem
answers = questionary.form( first = questionary.text("Hi?"), second = questionary.text("Hi again?", default=lambda x: x['first']) ).ask()
I would like that the answer of the previous question were the default value of the next question. AFAIK, questionary doesn't have this feature.
questionary
This option is not possible. However, if you look at the source for form, you will see it is very easy to adapt to add what you desire: it's just looping through the questions.
form
https://github.com/tmbo/questionary/blob/89758d2897734619f879c1007a79247c36493684/questionary/form.py#L60
Describe the problem
Consider the following problem
Describe the solution
I would like that the answer of the previous question were the default value of the next question. AFAIK,
questionary
doesn't have this feature.