Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.x] Fix validation attributes when translations are empty or missing #51890

Conversation

owenandrews
Copy link
Contributor

@owenandrews owenandrews commented Jun 23, 2024

Resolves issue #51849 that was introduced with #51805 (released in 11.11.0) where validation attributes would be replaced with the string validation.attributes if no inline attribute name was provided and the custom attribute translations were either empty or not set.

Includes a test to catch this in the future.

@driesvints driesvints changed the title Fix validation attributes when translations are empty or missing [11.x] Fix validation attributes when translations are empty or missing Jun 24, 2024
@taylorotwell taylorotwell merged commit 7330b92 into laravel:11.x Jun 24, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants