We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b79bb8 commit 53b8adaCopy full SHA for 53b8ada
1 file changed
src/blocks/Form/buildInitialFormState.tsx
@@ -10,6 +10,15 @@ type ExtendedFormFieldBlock =
10
required?: boolean
11
width?: number
12
}
13
+ | {
14
+ blockName?: string
15
+ blockType: 'captcha'
16
+ name: string
17
+ required?: boolean
18
+ width?: number
19
+ provider: string
20
+ apiKey: string
21
+ }
22
23
export const buildInitialFormState = (fields: ExtendedFormFieldBlock[]) => {
24
return fields?.reduce((initialSchema, field) => {
0 commit comments