Examples
Color.Error marks a confirm button that can't be undone.
“Website redesign” · 24 tasks
website/Examples/Feedback/ConfirmDialogDestructiveExample.razor
Source
ButtonText and CancelText take localized strings.
Brouillon
website/Examples/Feedback/ConfirmDialogLabelsExample.razor
Source
API
<ConfirmDialog>
DaisyBlazor.FeedbackStandard confirm/cancel dialog. Pass CancelText for a localized cancel label.
Parameters
- ButtonText string= "Confirm"
Label of the confirm button. Defaults to "Confirm"; pass a localized string to override.
- CancelText string= null
Label of the cancel button. Defaults to "Cancel"; pass a localized string to override.
- Color Color= Color.Primary
Color applied to the confirm button.
- ContentText string= ""
Body text shown inside the dialog.