简体   繁体   English

TYPO3 8.7.24:在tca中使用selectTree时的图形错误

[英]TYPO3 8.7.24: graphical bug when using selectTree in tca

svg图标 selectTree中的图形/ SVG错误

When I'm using rendermode selectTree for my kategorie selection, then I've got an graphical bug. 当我为我的分类选择使用rendermode selectTree时,我遇到了一个图形错误。 The bug independent from browser (tested in chrome and firefox). 该错误与浏览器无关(已在chrome和firefox中测试)。 I found out, that it looks like the svg icon I'm using for this type. 我发现,它看起来像我用于此类型的svg图标。

My tca config for the field "eltern": 我的tca配置字段“ eltern”:

    'eltern' => [
        'exclude' => true,
        'label' => 'Eltern',
        'config' => [
            'type' => 'select',
            'renderType' => 'selectTree',
            'foreign_table' => 'tx_adressen_domain_model_adresskategorie',
            'foreign_table_where' => 'ORDER BY tx_adressen_domain_model_adresskategorie.kategoriename',
            'size' => 20,
            'treeConfig' => [
                'parentField' => 'eltern',
                'appearance' => [
                    'expandAll' => true,
                    'showHeader' => true,
                ],
            ],
            'maxitems' => 1,
            'minitems' => 0,
        ],
    ],

Resolved the problem with using a 16x16 Pixel PNG icon instead of a svg icon 解决了使用16x16像素PNG图标而不是svg图标的问题

TCA: TCA:

return [
...
  'iconfile' => 'EXT:adressen/Resources/Public/Icons/Adresskategorie.png',
...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM