I'm using button and tooltip component in my vuetify project. I want to display tooltip only when the button is disabled and I'm looking for a solution how can I do it correctly.
For now tooltip is visible only when the button is enabled.
My code:
<v-tooltip top>
<template v-slot:activator="{ on, attrs }">
<v-btn class="ma-2" color="primary" :disabled="disabled" v-bind="attrs" @click="clear" v-on="on">
Save
</v-btn>
</template>
<span>its my toolip</span>
</v-tooltip>