Skip to content

Commit

Permalink
fix default values in forms
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicvaz committed Oct 24, 2023
1 parent 193ec37 commit a72d4a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/features/workflowEditor/utils/jsonSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export const extractDefaultValues = (
output[key] = value.default;
} else if ("properties" in value) {
output[key] = extractDefaultValues(value as any, output[key]);
} else {
output[key] = "";
}
}
}
Expand Down

0 comments on commit a72d4a4

Please sign in to comment.