0
I now got it to work. The problem was that I used form:{} so I need to use this.form.phone or this.form.mobile to get the value.
export default {
mixins: [validationMixin],
data: () => ({
form: {
email: '',
phone:'',
},
}),
So to get it to work I have to use:
validations: {
form: {
email:{
required (v) {
return this.form.phone|| required(v)
}},
phone: {
required (v) {
return this.form.email|| required(v)
}},
},
Source:stackexchange.com