niksmr / vue-masked-input

Masked input component for Vue.js
https://niksmr.github.io/vue-masked-input/
MIT License
454 stars 92 forks source link

Issue with Vuex on strict mode #51

Open waghcwb opened 6 years ago

waghcwb commented 6 years ago

If I turn on strict mode on vuex, I get the following error [vuex] Do not mutate vuex store state outside mutation handlers.

image

I think that is something related to the v-model approach

When using Vuex in strict mode, it could be a bit tricky to use v-model on a piece of state that belongs to Vuex

https://vuex.vuejs.org/guide/forms.html