Relative Content

Tag Archive for laravelvalidation

In Laravel, how can I get the validation errors

I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn’t run. With this code, I cannot seem to get where the error is, even though I can see that the Laravel has issues with the email being unique. I only have handful of users, and all of them have different emails. I can see that in the DB. This is the code, in any case:

In Laravel, how can I get the validation errors

I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn’t run. With this code, I cannot seem to get where the error is, even though I can see that the Laravel has issues with the email being unique. I only have handful of users, and all of them have different emails. I can see that in the DB. This is the code, in any case:

In Laravel, how can I get the validation errors

I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn’t run. With this code, I cannot seem to get where the error is, even though I can see that the Laravel has issues with the email being unique. I only have handful of users, and all of them have different emails. I can see that in the DB. This is the code, in any case:

In Laravel, how can I get the validation errors

I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn’t run. With this code, I cannot seem to get where the error is, even though I can see that the Laravel has issues with the email being unique. I only have handful of users, and all of them have different emails. I can see that in the DB. This is the code, in any case:

Laravel Livewire custom validation

I am trying to do a simple validation in a livewire component.
I have a “name” field with “required” rule and a “save” button that calls save() function.