When Validation fails, it reads: The 2. <validation message> #3780
Replies: 2 comments
-
I've never seen this "The 2." I don't have a clue where that would come from in this package. This should be the actual error message displayed: https://github.com/SpartnerNL/Laravel-Excel/blob/3.1/src/Validators/Failure.php#L82 As you can see it's translatable, so you can change the message in the en.json translation file |
Beta Was this translation helpful? Give feedback.
-
This appears to happen when you This would probably be nice to override, but you can also look into the |
Beta Was this translation helpful? Give feedback.
-
When Validation fails, it reads: The 2.
From the error that triggered this, 2 refers to the row of the error. But "The 2." looks bad.
How can I change this to "Row 2 has an error."
Beta Was this translation helpful? Give feedback.
All reactions