[Vuejs]-Quasar Select reacting to user input with Composition API

3👍

Try to make the computed property writable by adding a setter :

const taskRecipients = computed({

   get:() => root.$store.getters['app/taskRecipients'],

  set:(val)=>{
     root.$store.dispatch('changeTaskRecipients', val) // run the action that updates the state

  }

});

Leave a comment