Bug #79069

Allows to add/remove --div-- in pageTsConfig

Added by Eric Chavaillaz almost 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2016-12-22
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

With the methods addItemsFromPageTsConfig/removeItemsByRemoveItemsPageTsConfig (TYPO3\CMS\Backend\Form\FormDataProvider), it is possible to add/remove items to a select column.

Actually it is possible to deal only with one separator(--div--) like this : TCEFORM.table.field.addItems.--div-- = Separator
If I try to add another separator, the first one is overriden.

I purpose to change the syntax like in the extension "news". To add a separator, the syntax must be like this : TCEFORM.table.field.addItems.10 = --div--,Separator

In addition an item with this syntax TCEFORM.table.field.addItems.--div-- = Separator must be by passed.

The same must be set when removing items with removeItems, I purpose a syntax like this : TCEFORM.table.field.removeItems = 10, 20,--div--|Separator (the name of the --div-- after the pipe).

Finally, if items are sets directly in the TCA and an item is added with the same key in pageTsConfig, the item is added instead of override the TCA item (the result is a select box with same values). This muste be avoided.

Thanks

History

#1 Updated by Benni Mack over 2 years ago

  • Target version changed from 8.5 to 8.6

#2 Updated by Benni Mack over 2 years ago

  • Target version changed from 8.6 to 8 LTS

#3 Updated by Benni Mack over 2 years ago

  • Target version changed from 8 LTS to 9.0

#4 Updated by Susanne Moog over 1 year ago

  • Category changed from Backend API to FormEngine aka TCEforms
  • Target version changed from 9.0 to Candidate for Major Version

Also available in: Atom PDF