Nuxt: Props
These are the inputs accepted by the Nuxt integration. Event callback props are also shown where the framework uses callbacks instead of emitted template events.
| Name | Type | Default | Description |
|---|---|---|---|
space | string | — | The space ID that owns the form. Required. |
form | string | — | The form ID to render. Required. |
language | string | 'en' | Translation key used by the form UI. |
config | UserConfig | {} | Action settings, translations, and class-name mappings. |
initialFormData | Form | undefined | Preloaded form data. Skips the initial client-side request when supplied. |
getFormData | (space, form) => Promise<Form> | undefined | Optional server-side form loader. |
Server-side data
Use getFormData(space, form) to provide a custom server-side loader, or initialFormData when your application has already loaded the form.