Extend TCEFORM_confObj on Page TSconfig by property keepItems
In Page TSconfig there are currently these possibilities to manipulate the items of a select field:
addItems.123 = new item
removeItems = 234,456
This works only relatively to a given set of items. It is not possible with these both methods to set/filter the items exactly to a predefined set.
The solution is a new feature "filterItems" - all other (available!) values which are not defined in the "filterItems" are cut off.
TCEFORM.<table>.<field>.keepItems = 110,101,111
Insert in doc_core_tsconfig, Page TSconfig, section TCEFORM_confObj, before property "removeItems":
list of values
Reduce/filter a given set of elements to fit the condition defined here.
keepItems = 1,2,255
(issue imported from #M5610)