0👍
The custom validation is wrong, it needs to validate if some element in array is true:
let check = this.selectedDays.some(function(element) {
if (element === true) {
return true;
} else {
return false;
}});
or:
let check = this.selectedDays.some(e => e === true);
- [Vuejs]-Error initiating Plaid Link API to Vue frontend
- [Vuejs]-Add data to array delete other content
Source:stackexchange.com