I am facing an issue with a bootstrap-vue b-button that has a v-on:click tag. The problem is that the onclick event is not appearing in the rendered HTML. Here are the dependencies being used:
"webpack": "^5.35.1",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2"
"bootstrap": "^4.6.0",
"bootstrap-vue": "^2.21.2",
"vue": "^2.6.12",
"vue-template-compiler": "^2.6.12",
Here is the code for the button:
<b-button :disabled="document.status==='Complete' || document.status==='Canceled'"
variant="primary"
title="Resend"
v-on:click="console.log('click')"
>
Upon inspecting the rendered HTML, I noticed that no onclick event is present. This raises the question of why the onclick is missing from the HTML. Can anyone provide insight into this matter?