Just starting to work with Vuejs - is it possible to bind a model to a button like so:
<button class="btn btn-outline-secondary" v-model="pricing" @click="showCountyModal = true">edit</button>
It doesn't appear to. Would the idiomatic pattern be to use:
<button class="btn btn-outline-secondary" @click="willShowCountyModal(pricing)">edit</button>
which does seem to work?