I am currently working on a VueJS project that includes a bootstrap button group...
<div class="btn-group btn-group-xs pull-right" data-toggle="buttons">
<label class="btn btn-primary label-primary">
<input type="radio" name="options" id="option1" autocomplete="off" v-on:click="clearEntries"> A
</label>
<label class="btn btn-primary label-primary">
<input type="radio" name="options" id="option2" autocomplete="off" v-on:click="clearEntries"> B
</label>
<label class="btn btn-primary active label-primary">
<input type="radio" name="options" id="option3" autocomplete="off" checked v-on:click="clearEntries"> C
</label>
<label class="btn btn-primary label-primary">
<input type="radio" name="options" id="option4" autocomplete="off" v-on:click="clearEntries"> D
</label>
</div>
I am looking for a way to trigger a method when a radio button is selected. However, the click event does not seem to be activating. Could it be caused by the styles from Bootstrap interfering?
Do you have any suggestions?