Closed poldixd closed 2 years ago
Using nested elements in field names is an interesting solution.
This feature has been released in version 14.3.0
.
Thank you for issue.
:-) Thank you very much for fixing.
Using nested elements in field names is an interesting solution.
This feature has been released in version
14.3.0
.Thank you for issue.
@andrey-helldar Translation does not work after updating to the latest version and updating transtaions using php artisan lang:update
.
Here is a example:
After updating transtations the validation.php
file looks like:
<?php
return [
'attributes' => [
'frontend.email' => 'E-mail',
'frontend.password' => 'Password',
//...
]
];
Description:
After using
php artisan lang:update
the package breakes the dot notation in thevalidation.php
in theattributes
array and converts it into an array.Here is my
attributes
array:After using
php artisan lang:update
the attributes array becomes this:Now laravel gives me an error because the field is an array and not a string.
Steps To Reproduce:
Add the
attributes
array like in the discription to thevalidation.php
and runphp artisan lang:update