Fix field type for Dict in add_new_custom_field function
This commit is contained in:
parent
6fce679c8e
commit
29908957e9
1 changed files with 3 additions and 0 deletions
|
|
@ -155,6 +155,9 @@ def add_new_custom_field(
|
|||
field_value = field_config.pop("value", field_value)
|
||||
field_advanced = field_config.pop("advanced", False)
|
||||
|
||||
if field_type == "Dict":
|
||||
field_type = "dict"
|
||||
|
||||
if field_type == "bool" and field_value is None:
|
||||
field_value = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue