Merge pull request #14487 from backstage/blam/scaffolder-form-context-missing

Pass through the `formData` into the `formContext` for the `next` scaffolder
This commit is contained in:
Ben Lambert
2022-11-08 10:21:59 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
@@ -143,6 +143,7 @@ export const Stepper = (props: StepperProps) => {
validator={validator}
extraErrors={errors as unknown as ErrorSchema}
formData={formState}
formContext={{ formData: formState }}
schema={steps[activeStep].schema}
uiSchema={steps[activeStep].uiSchema}
onSubmit={handleNext}