TYPO3 TCA中没有显示带有selectMultipleSideBySide和MM_match_字段的选定项目
这是我的TCA:TYPO3 TCA中没有显示带有selectMultipleSideBySide和MM_match_字段的选定项目,typo3,backend,Typo3,Backend,这是我的TCA: tx_csblog_tags' => [ 'exclude' => 0, 'label' => 'LLL:EXT:cs_blog/Resources/Private/Language/locallang_db.xlf:tx_csblog_domain_model_post.tags', 'config' => [ 'type' => 'select',
tx_csblog_tags' => [
'exclude' => 0,
'label' => 'LLL:EXT:cs_blog/Resources/Private/Language/locallang_db.xlf:tx_csblog_domain_model_post.tags',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'foreign_table' => 'tx_csblog_domain_model_tag',
'foreign_table_where' => ' ORDER BY tx_csblog_domain_model_tag.title ASC',
'MM' => 'tx_csblog_post_tag_mm',
'MM_match_fields' => [
'tablenames' => 'pages',
'fieldname' => 'tx_csblog_tags'
],
'nultiple' => 0,
'size' => 10,
'autoSizeMax' => 30,
'minitems' => 0,
'maxitems' => 9999,
所选项目正确存储在数据库表tx_csblog_post_tag_mm中,例如
uid_local uid_foreign sorting sorting_foreign tablenames fieldname
143 18 1 0 pages tx_csblog_tags
如果保存记录,所选项目将以这种方式存储在数据库中,但不会再次显示为所选项目。因此,如果我再次储蓄,关系就消失了
我是否遗漏了一些内容,或者无法使用这样的MM\u match\u字段?好的,如果我保留“tablenames”,它会工作 我可以看到一个打字错误
'numple'
。尽管我相信多重默认情况下是错误的。