← All examplesConfirms

Retained confirmation and error

Keep the dialog open during execution and show an error without retrying.

Retained confirmation error

The confirmation remains open through execution and displays the error. Closing it does not retry.

CodeFocused snippet
publish: {
  run: publishDraft,
  confirm: { title: 'Publish now?' },
  closeOnConfirm: false,
  pendingLabel: 'Publishing…',
}

Read the related guide →

This demo uses a local, temporary action. It does not send data or write to a service.