SingleChoiceList.input#

property SingleChoiceList.input: str[source]#

Text of selected choice. Returns None, if there is no input.

Note that, differing from SingleChoice, we do not use an index here. This is due to the fact that in SingleChoiceList, all labels must be strings, while they can have other classes in SingleChoice elements. Thus, it is safe to use the label in SingleChoiceLists, but not in ordinary SingleChoice elements.

Type

str