Task #90183

Remove support for renderMode from FlexForm and force usage of renderType?

Added by Sybille Peters 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2020-01-23
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

TYPO3 version should probably be selected as 11, not possible, so I selected 10.
---

In TYPO3 9.5 this still works if used in a Flexform for type select:

<settings.whatever>
  <TCEforms>
    <label>whatever</label>
      <config>
        <type>select</type>
          <items type="array">
             <numIndex index="0" type="array">
               <numIndex index="0">first option</numIndex>
               <numIndex index="1">1</numIndex>
             </numIndex>
             <!-- etc --> 
          </items>
          <size>15</size>
          <maxitems>100</maxitems>
          <renderMode>singlebox</renderMode>
       </config>
    </TCEforms>
</settings.whatever>

"Using the TCA field type `select` without specifying a valid `renderType` has been marked as deprecated. Additionally the usage of renderMode for select fields has been marked as deprecated." (since 7.6)

https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/7.6/Deprecation-69822-DeprecateSelectFieldTca.html

Annotation 2020-03-08 132238.png View (26.3 KB) Susanne Moog, 2020-03-08 13:22


Related issues

Related to TYPO3 Core - Task #69822: Move select field type detection to TcaMigration Closed 2015-09-15
Related to TYPO3 Core - Task #87447: Drop core 7->8 auto TCA migrations Closed 2019-01-15

History

#2 Updated by Susanne Moog 8 months ago

  • Related to Task #69822: Move select field type detection to TcaMigration added

#3 Updated by Susanne Moog 8 months ago

  • Related to Task #87447: Drop core 7->8 auto TCA migrations added

#4 Updated by Susanne Moog 8 months ago

This has already been done in 10 with #87447 - see attached screenshot.

Also available in: Atom PDF