0👍
✅
The only way I was able to do this was with a getter and setter for a computed property pretty counter-intuitive:
tempSubject: null,
subject: {
get(){
if (this.tempSubject) return this.tempSubject
return this.$t('trials.trial_feedback_subject', {id: this.trialId})
},
set(newValue){
this.tempSubject = newValue
}
},
canSubmit(){
return !!this.feedback
}
Source:stackexchange.com