0๐
I figuered it out:
I passed a reference not a value therefore no changes for initial data were made
0๐
You need to declare data option as a function with a return value, not an
object:
new Vue({
data(){
return {
...
}
}
})
- [Vuejs]-How to access vue store from a component when using with router
- [Vuejs]-Add validation rule in yup based on external condition
Source:stackexchange.com