I want to make a conditional p tag that appears only if a button is disabled I currently have this:
<div class="finishTest">
<button
form="answerForm"
type="submit"
@click="getResult"
:disabled="!this.enableButton()"
:class="{
disabledButton: !this.enableButton(),
}"
>
{{ t("finish") }}
</button>
<p v-if="button == disabledButton">error</p>
</div>
but this shows the p tag all the time.