Fix options default value in TemplateField class
This commit is contained in:
parent
f055c99f5a
commit
67ece64835
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class TemplateField(BaseModel):
|
|||
password: bool = False
|
||||
"""Specifies if the field is a password. Defaults to False."""
|
||||
|
||||
options: Union[list[str], Callable] = []
|
||||
options: Union[list[str], Callable] = None
|
||||
"""List of options for the field. Only used when is_list=True. Default is an empty list."""
|
||||
|
||||
name: str = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue