I am using vuetify.js and trying to pass v-model in props to a v-dialog tag,
the v-dialog doesn't work. when I click on the button which set the props to true,
the v-dialog doesn't open
attached here the parent and the child component code:
here is my code :
my parent component:
data: () => ({
showActionDialog:false,
)},
<team-actions
@movetohistorytab="$emit('historytab')"
:team="team"
:showActionDialog="showActionDialog"
:selectedSetups="selectedSetups">
</team-actions>
<v-tooltip top>
<template v-slot:activator="{ on }">
<v-chip
:disabled="selectedSetups.length <= 0"
v-on="on"
class="ma-2 white--text float-right"
label
outlined
style="font-family: 'Segoe UI Emoji';"
color="green"
@click="showActionDialog=true"
>Add Actions</v-chip
>
</template>
Add actions to the selected platforms
</v-tooltip>
my child component:
props: {
team: {
type: String,
default: "Sustaining",
},
selectedSetups:[],
showActionDialog:false,
},
<v-dialog v-model="showActionDialog">
<v-card
width="900px"
style="
position: fixed !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
"
>
<v-row>
<v-col cols="5">
<v-card-title primary-title style="color: #0d47a1">
<v-icon color="blue darken-4">arrow_forward</v-icon>Platform
Actions
</v-card-title>
</v-col>
</v-row>
<v-col>
<v-card style="height: 500px" :tile="true">
</v-card>
</v-col>
</v-card>
</v-dialog>
any idea what is wrong here?
there something special in v-dialog props?
anyone can help?
thanks!