1π
β
itβs probably because you change a value in a nested state and change the data type of this field. vue does not like that. you either have to keep it a string or you can explicitly force reactivity like this:
Vue.set(this.fields, 'name', null);
or access $set
on the vue component with same syntax
this.$set(this.fields, 'name', null);
π€oshell
Source:stackexchange.com