diff --git a/src/components/CustomJsonSchemaBridge.tsx b/src/components/CustomJsonSchemaBridge.tsx index 3e27e63af..943472930 100644 --- a/src/components/CustomJsonSchemaBridge.tsx +++ b/src/components/CustomJsonSchemaBridge.tsx @@ -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 { const field = super.getField(name); const { defaultValue, description, ...props } = field; diff --git a/src/components/VisualizationStepViews.tsx b/src/components/VisualizationStepViews.tsx index 5171277cf..6dbc0cbce 100644 --- a/src/components/VisualizationStepViews.tsx +++ b/src/components/VisualizationStepViews.tsx @@ -202,6 +202,7 @@ const VisualizationStepViews = ({ type: 'object', properties: stepPropertySchema, required: step.required, + default: stepPropertyModel, }} configuration={stepPropertyModel} parametersOrder={parametersOrder}