Ready to get started?
Join Adocasts Plus for $8/mo, or sign into an existing Adocasts Plus account, to get access to all of our lessons.
Building with AdonisJS & Inertia #6.2
The Form Dialog Component & Adding Organizations
In This Lesson
We'll add a new form dialog component that simplifies the create and update forms we'll use throughout our application. We'll then use this component to add a create organization dialog within our organization selector.
- Created by
- @tomgobich
- Published
Join the Discussion 2 comments
-
You can also do it like this in FormDialog.vue
defineProps<{ editing?: boolean processing?: boolean resource?: string }>() const open = defineModel<boolean>('open')Copied!1-
Responding to jals
Wow - thanks a ton for sharing this, Jeffrey! I completely missed Vue adding in the
defineModelmacro, that's a huge improvement!!1
-