vdl-action-confirm
Show a confirmation dialog and wait for the user response. If the user chooses to cancel then the VDL action group will be stopped immediately and no further actions will be run, unless the "continue" attribute is set to "true". A boolean value is passed on to the next VDL action to say whether the user chose Ok.
Required parent element
Must be contained within one of the following elements:
Example
<vdl-action-group name="showDialog">
<vdl-action-confirm
title="Please confirm"
text="Do you wish to proceed?"
ok-label="Sure"
cancel-label="No thanks">
</vdl-action-confirm>
</vdl-action-group>
Attributes
text | The message to show within the confirm dialog body. | accepts expression | required |
---|---|---|---|
cancel-label | Text to show on the cancel button. Defaults to "No". | ||
continue | Whether to continue to the next VDL action in the VDL action group if a user clicks on the cancel button. Set to "true" to allow the VDL action group to continue regardless of the user choice. Defaults to stopping the VDL action group if the user chooses cancel. | ||
ok-label | Text to show on the ok button. Defaults to "Yes". | ||
title | A title to show on the confirm dialog. Defaults to "Confirm". |