TYPO3 TCA type "select" performance issue -
is there possibility use tca field type "select" table has thousands of entries?
the selectbox entries shouldn't displayed (else record loads minutes or memory limit or max execution time error), search field (like existing wizard "suggest") or record browser (like tca type "group" has).
it's possible tca type "group" , (very important!) setting foreign_table:
'config' => [ 'type' => 'group', 'internal_type' => 'db', 'allowed' => 'fe_users', 'foreign_table' => 'fe_users' ],
from offical documentation (https://docs.typo3.org/typo3cms/tcareference/columnsconfig/type/group.html#foreign-table):
foreign_table: property not exist group-type fields. needed workaround extbase limitation. used resolve dependencies during extbase persistence. should hold same values property allowed. notice 1 table name allowed here in contrast property allowed itself.
Comments
Post a Comment