mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
form: fix SelectOption's choices coercing list to dict
This commit is contained in:
parent
9809de65f8
commit
1d734b5df5
1 changed files with 1 additions and 1 deletions
|
@ -1465,7 +1465,7 @@ class SelectOption(BaseChoicesOption):
|
|||
|
||||
type: Literal[OptionType.select] = OptionType.select
|
||||
filter: Literal[None] = None
|
||||
choices: Union[dict[str, Any], list[Any]]
|
||||
choices: Union[list[Any], dict[str, Any]]
|
||||
default: Union[str, None]
|
||||
_annotation = str
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue