diff --git a/plugins/scaffolder/api-report.md b/plugins/scaffolder/api-report.md index 7611e952dc..3fe1208ba9 100644 --- a/plugins/scaffolder/api-report.md +++ b/plugins/scaffolder/api-report.md @@ -168,7 +168,10 @@ export interface FieldSchema { } // @alpha -export type FormProps = Pick; +export type FormProps = Pick< + FormProps_3, + 'transformErrors' | 'noHtml5Validate' +>; // @public export type LayoutComponent<_TInputProps> = () => null; diff --git a/plugins/scaffolder/src/next/types.ts b/plugins/scaffolder/src/next/types.ts index d0d3ed1011..32d0fe85f0 100644 --- a/plugins/scaffolder/src/next/types.ts +++ b/plugins/scaffolder/src/next/types.ts @@ -20,4 +20,7 @@ import type { FormProps as SchemaFormProps } from '@rjsf/core-v5'; * * @alpha */ -export type FormProps = Pick; +export type FormProps = Pick< + SchemaFormProps, + 'transformErrors' | 'noHtml5Validate' +>;