[Vuejs]-Child propagation to parent from object of objects

0👍

From what I see, this is a simple reactivity problem explained in the documentation.
dropDownOptions and dropDownSelected are objects on which you add new keys. Every time you do that, you need to call this.$set.

I think if you only change this method you should be good:

initializeDropDown(){
  for(var col in this.columns){
    this.$set(this.dropDownSelected, col.name, []);
    this.$set(this.dropDownOptions, col.name, []);
  }
},

Leave a comment