You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: components/molecules/GravityForm/GravityForm.stories.mdx
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -240,3 +240,19 @@ Use this component to render a form from the GravityForm block.
240
240
<GravityForm{...sampleForm.attributes} />
241
241
</Story>
242
242
</Canvas>
243
+
244
+
## How it Works
245
+
246
+
The `GravityForm` component renders a `Form` component with and maps through fields using the `<Fields />` component.
247
+
248
+
Checkout [Form](?path=/docs/design-system-molecules-form--component) for more details on how Forms work.
249
+
250
+
## Field Mapping
251
+
252
+
All Field mapping is handled by the `<Fields />` component. Each field is mapped during the form render process which pairs GravityForm field data to `validationSchema` and `Field` components.
253
+
254
+
See [Fields](?path=/docs/design-system-molecules-gravityform-fields--page)
0 commit comments