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
}
});
Source:stackexchange.com