We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating a relationship type, using subfields, i.e:
[ 'label' => trans('custom.attachments'), 'name' => 'attachment_blocks', 'type' => 'relationship', 'tab' => trans('custom.attachments'), 'force_delete' => true, 'subfields' => [ [ 'name' => 'label', 'label' => trans('custom.label'), 'type' => 'text' ],
fields defined as translatable in the relation model and listed as subfields don't show the translation flag on the label.
Example of the translation flag
When I run php artisan backpack:version the output is:
php artisan backpack:version
### PHP VERSION: 8.3.9 ### PHP EXTENSIONS: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, ast, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, igbinary, intl, exif, msgpack, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache, xdebug ### LARAVEL VERSION: 11.23.5.0 ### BACKPACK PACKAGE VERSIONS: backpack/basset: 1.3.6 backpack/crud: 6.7.41 backpack/devtools: 3.1.6 backpack/generators: v4.0.6 backpack/language-switcher: 2.0.0 backpack/medialibrary-uploaders: 1.2.1 backpack/permissionmanager: 7.2.1 backpack/pro: 2.2.21 backpack/settings: 3.1.1 backpack/theme-tabler: 1.2.13 backpack/translation-manager: 1.0.4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
What I did
When creating a relationship type, using subfields, i.e:
fields defined as translatable in the relation model and listed as subfields don't show the translation flag on the label.
Example of the translation flag
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:The text was updated successfully, but these errors were encountered: