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:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
---
|
||||
|
||||
Fix `formData` not being present in the `next` version
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user