In BootstrapVue Tabs, when we click on a tab for change to another tab => event click will fire. I need to do some validation after the event click fire. Then if it fails, I will cancel that event and prevent the tab to change. But I cant find any method in BootstrapVue documentation to do that. I need your help !!
<b-tabs pills content-class="mt-3" v-model="tabIndex" >
<b-tab title="Profile" active @click="onChange" id="test" title-item-class="btnTab">
<information @changeTab="changeTabInformation" ></information>
</b-tab>
<b-tab title="Preferences" @click="onChange" title-item-class="btnTab">
<preference @changeTab="changeTabPreference" ></preference>
</b-tab>
</b-tabs>
(Hope that u can understand me because my writing skills in English is terrible :( )