Merge pull request #463 from sartography/bug/validation-fields

Fixes a bug so that you can reference later fields (and they'll validate
This commit is contained in:
Dan Funk 2022-02-22 13:59:27 -05:00 committed by GitHub
commit 5fee42b437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -256,6 +256,9 @@ class WorkflowService(object):
hide_groups = []
for field in task_api.form.fields:
form_data[field.id] = None
for field in task_api.form.fields:
# Assure we have a field type
if field.type is None: