ScaffolderRJSFFormProps.onChange
Home > @backstage/plugin-scaffolder-react
> ScaffolderRJSFFormProps
> onChange
If you plan on being notified every time the form data are updated, you can pass an onChange
handler, which will receive the same args as onSubmit
any time a value is updated in the form. Can also return the id
of the field that caused the change
Signature:
onChange?: (data: IChangeEvent<T, S, F>, id?: string) => void;