-
Notifications
You must be signed in to change notification settings - Fork 922
Open
Labels
Description
Bug report
What I did
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

Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
### 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