Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

fix(steps-details): Required object type's parameters are lost #1605

Merged
merged 1 commit into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/components/CustomJsonSchemaBridge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ import JSONSchemaBridge from 'uniforms-bridge-json-schema';
* based on the incoming model data
*/
export class CustomJsonSchemaBridge extends JSONSchemaBridge {
constructor(schema: any, validator: any) {
super(schema, validator);
}

getField(name: string): Record<string, any> {
const field = super.getField(name);
const { defaultValue, description, ...props } = field;
Expand Down
1 change: 1 addition & 0 deletions src/components/VisualizationStepViews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ const VisualizationStepViews = ({
type: 'object',
properties: stepPropertySchema,
required: step.required,
default: stepPropertyModel,
}}
configuration={stepPropertyModel}
parametersOrder={parametersOrder}
Expand Down