Closed martenjacobs closed 5 years ago
I'll take a closer look at this.
Yes its actually ignored cos, you have to choose one from the list.
From documentation it appears you should be able to define the initially selected list item. Either the documentation should be clarified or this feature should be implemented.
I believe this issue should be reopened, it's still present in version 1.0.3 on PyPI and on master.
Looks like this has now been fixed in #68 - we just need a release (#90)
It seems that the
default
-key is ignored on list-type questionsConsider the following code:
Expected result:
Item 3
is initially selected in the promptActual result:
Item 1
is initially selected in the promptEnvironment:
OS: macOS 10.14 Mojave