[Vuejs]-Laravel Validation and Vue 2

0👍

it returns an array for every field because field may have more then one message , if it’s one message in your case or you want to get the first message you may access it like that :

@{{ errors['field'] ? errors['field'][0] : null  }}

also use this.validation = response.data;

Leave a comment