Project

General

Profile

Actions

Feature #81976

closed

TCA wizards don't show up for `selectSingle` fields

Added by Paul Ilea almost 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Start date:
2017-07-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
7.1
Tags:
Complexity:
easy
Sprint Focus:

Description

I've tried adding simple add/edit/suggest wizards to some `select` type fields and noticed that, for renderType = 'selectSingle' , they were not displayed while for renderType = 'selectMultipleSideBySide', they worked as expected. I'm including a TCA field configuration example I've used to test the issue:

```
'user' => [
'exclude' => 0,
'label' => 'User',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'minitems' => 0,
'foreign_table' => 'fe_users',
'foreign_table_where' => 'ORDER BY fe_users.name',
'items' => [
['', 0],
],
'wizards' => [
'edit' => [
'type' => 'popup',
'title' => 'Edit',
'module' => [
'name' => 'wizard_edit',
],
'params' => [
'table' => 'fe_users'
],
'popup_onlyOpenIfSelected' => 1,
'JSopenParams' => 'height=850,width=960,status=0,menubar=0,scrollbars=1'
],
],
],
],
```


Files

SelectSingleElement.php (11.6 KB) SelectSingleElement.php Philipp Dettling, 2017-08-25 17:28

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #89032: TCA SelectSingleElement does not render fieldControlClosed2019-08-28

Actions
Actions

Also available in: Atom PDF