Fix default value for name field
This commit is contained in:
parent
a0377c0ac7
commit
d6ad55ca4a
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class TemplateField(BaseModel):
|
|||
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 = ""
|
||||
name: str = None
|
||||
"""Name of the field. Default is an empty string."""
|
||||
|
||||
display_name: Optional[str] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue