[Vuejs]-Dialogs are not shown in vuetify 3

3👍

Even the examples in official vuetify docs which use the activator slot don’t work properly.

You can just add @click.stop="dialog = true" to the button that opens the dialog and remove v-on="on" from it.

1👍

According to the official source code you could do :

      <template v-slot:activator="{isActive,props}">
        <v-btn
          color="red lighten-2"
          dark   @click="props.onClick[0]"
        >
          Click Me
        </v-btn>
      </template>

DEMO

Leave a comment