mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-23 21:08:18 +00:00
more checking
This commit is contained in:
parent
d1c1e6069c
commit
ac16fc8be1
@ -1390,9 +1390,12 @@ def _update_form_schema_with_task_data_as_needed(
|
||||
)
|
||||
)
|
||||
|
||||
select_options_from_task_data = task_data.get(
|
||||
task_data_var
|
||||
)
|
||||
select_options_from_task_data = task_data.get(task_data_var)
|
||||
if isinstance(select_options_from_task_data, list):
|
||||
if all(
|
||||
"value" in d and "label" in d
|
||||
for d in select_options_from_task_data
|
||||
):
|
||||
|
||||
def map_function(
|
||||
task_data_select_option: TaskDataSelectOption,
|
||||
|
Loading…
x
Reference in New Issue
Block a user