Replies: 2 comments
-
Hi there, Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. You can post support questions on our discussions tab instead so I'm moving it over there. I won't be able to help you out personally but others who are watching this repository can help you out. Alternatively, you can post this question on one of the following channels: Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also the case for laravel 5 #34441, and Laravel 7. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
When creation a form request object with a composite unique validation rules like this:
and with corresponding form fields, the validation error message only shows for the last field in the validation list,
country_code
in this case. It should really display the unique validation error message for all the fields in the form, when they are attached to the fields using$errors->first('field_name')
, not only the last one being evaluated. Is this intended behavior?Steps To Reproduce:
Create a form object like the one above with corresponding form fields, add per-field validation messages and submit the form.
Beta Was this translation helpful? Give feedback.
All reactions