Skip to main content

ScaffolderRJSFFormProps.formContext

Home > @backstage/plugin-scaffolder-react > ScaffolderRJSFFormProps > formContext

You can provide a formContext object to the form, which is passed down to all fields and widgets. Useful for implementing context aware fields and widgets.

NOTE: Setting {readonlyAsDisabled: false} on the formContext will make the antd theme treat readOnly fields as disabled.

Signature:

formContext?: F;