mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 01:32:33 +00:00
* Update repository links to point to main Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Fix broken link in relatedtools.mdx Co-authored-by: Steven Clark <steven.clark@hashicorp.com> Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
1.0 KiB
1.0 KiB
Confirm
Confirm components prevent users from performing actions they do not intend to by showing a confirmation message as an overlay. This is a contextual component that should always be rendered with a Message which triggers the message.
See the Message component for a description of properties.
Example
<div class="box">
<Confirm as |c|>
<c.Message
@id={{item.id}}
@triggerText="Delete"
@message="This will permanently delete this secret and all its versions."
@onConfirm={{action "delete" item "secret"}}
/>
</Confirm>
</div>
See