Ready to get started?

Join Adocasts Plus for $8.00/mo or sign into your account to get access to all of our lessons.

robot mascot smiling

The Confirm Delete Dialog & Deleting the Active Organization

In this lesson, we'll create a reusable confirm deletion dialog and bind its state into our use resource actions composable. We'll then incorporate this all together to allow users to delete their active organization.

Published
Nov 11
Duration
18m 24s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

Chapters

00:00 - Adding a Delete Organization Button
00:36 - Creating our Confirm Destroy Dialog
04:48 - Updating our Resource Actions Composable with Destroy State
07:46 - Adding our Delete Organization Confirmation Dialog
09:43 - Deleting the Active Organization
13:13 - Installing the AlertDialog Shadcn-Vue Component
14:13 - Testing the Flow
14:50 - Gracefully Switching Active Organizations Post-Deletion
17:48 - Testing the Flow Once More

Ready to get started?

Join Adocasts Plus for $8.00/mo or sign into your account to get access to all of our lessons.

Join The Discussion! (0 Comments)

Please sign in or sign up for free to join in on the dicussion.

robot comment bubble

Be the first to Comment!