We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9fbf47 commit 69b19d5Copy full SHA for 69b19d5
stubs/WTForms/wtforms/fields/choices.pyi
@@ -46,7 +46,7 @@ class SelectFieldBase(Field):
46
47
class SelectField(SelectFieldBase):
48
coerce: Callable[[Any], Any]
49
- choices: list[_Choice] | _GroupedChoices
+ choices: Sequence[_Choice] | _GroupedChoices | None
50
validate_choice: bool
51
def __init__(
52
self,
0 commit comments