<button v-tooltip="'text'" :disabled=true>Some button</button>
I need the tooltip
explaining why the button is disabled, but when I do, tooltip
is disabled also.
<button v-tooltip="'text'" :disabled=true>Some button</button>
I need the tooltip
explaining why the button is disabled, but when I do, tooltip
is disabled also.
I guess you could wrap the button in a span and put the tooltip in the span instead of the button ..
<span v-tooltip="condition && 'text'">
<button :disabled="condition">Some button</button>
</span>
Where condition
is some boolean data property. This will make the tooltip appear when the button is disabled and disable the tooltip when the button is enabled.
From this issue on the project:
Example