Hello!
I have:
data: function () {
return {
places: {},
};
},
…
mounted() {
axios.get(‘pa/places’)
.then(response => {
this.places = response.data.data;
});
}
…
<f7-toggle
:checked="!!places[‘home’]"
@change=“foo”
>
When data is updated in the mounted method toggle fires the foo method. But if I use f7-checkbox instead everything works fine and foo is not fired.
How can I make the toggle to fire @change on tapping only and not on data change?