---
url: "https://vueda.dev/v3/reference/api/vue/FormConfirmDialog.md"
title: "FormConfirmDialog"
---

# FormConfirmDialog

## Overview

Confirmation dialog shown when a submission is valid but the server reports advisory warnings that
must be acknowledged (HTTP 409). Bind it to the `confirmation` controller returned by
`useObjectForm` or `useActionForm`: confirming retries the submission with the warnings
acknowledged, cancelling leaves it unsaved with the warnings still displayed.

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-controller">controller</span> | `object` | yes |  | The confirmation controller (`objectForm.confirmation` from `useObjectForm`, or `confirmation` from `useActionForm`). |
| <span id="prop-title">title</span> | `string` |  | `"Confirm action"` | Dialog heading. |
| <span id="prop-description">description</span> | `string` |  | `"This action has warnings. Review them before continuing."` | Explanatory text shown above the list of warnings. |
| <span id="prop-confirmLabel">confirmLabel</span> | `string` |  | `"Continue anyway"` | Label for the button that proceeds. |
| <span id="prop-cancelLabel">cancelLabel</span> | `string` |  | `"Cancel"` | Label for the button that abandons the action. |

## Slots

| Name | Scoped | Description |
| --- | --- | --- |
| `warnings` | yes | warnings Replaces the default rendered warnings. `warnings` is the controller's raw warnings mapping; `bulk` reports which shape it is in (`true` for per-object keys, `false` for a single object's field-keyed messages), sourced from the `ConfirmationRequiredError` that reported it. The default rendering makes no assumption about that shape: it flattens every value in `warnings` into a plain list of messages, ignoring keys. |

[Full slot reference](/v3/reference/api/vue/FormConfirmDialog/slots.md)

## Source

`client/lib/form/confirm/FormConfirmDialog.vue`
