IConfirmOptions
3p-core / IConfirmOptions
Interface: IConfirmOptions
Defines the configuration options for a confirm dialog instance.
Properties
Property | Type | Description |
---|---|---|
additionalFields? | IFieldConfig [] | Additional fields to display in the dialog before confirmation. |
commentOptions? | Partial <ITextFieldProps > | Optional configuration props for the comment TextField . |
commentType? | "none" | "mandatory" | "optional" | Comment input configuration: mandatory , optional , or none . |
message | string | Main message displayed in the dialog. |
onConfirm | (comment? , additionalFieldsValue? ) => void | Callback executed when the user confirms. |
title? | string | Optional dialog title. Defaults to "Confirm". |