survey icon indicating copy to clipboard operation
survey copied to clipboard

Add support for custom input values to survey.Select

Open noerw opened this issue 4 years ago • 2 comments

Sometimes, the provided Options are not enough, and custom user input is wanted.

The survey.Select + survey.MultiSelect prompts should offer this if an new option AllowCustomValues is true: This would add an implicit option "Other", that when selected follows up with a survey.Input prompt. Select would be done at this point, and MultiSelect would return to the options pager with the new entry added and selected.

noerw avatar Mar 02 '21 20:03 noerw

Oh I like this! If you wanted to try to add it, I would love to support you however I can - feel free to reach out on the gophers slack!

AlecAivazis avatar Apr 16 '21 18:04 AlecAivazis

By this, do you mean having dynamic values depending on the answers to previous questions?

fcarvalhido avatar Dec 27 '21 15:12 fcarvalhido