Issue Bug Closed

#61276TCA property "exclusiveKeys" prevents from selecting an item

most wanted 08/29/14, 17:28 updated 10/02/18, 11:52

Description

In the TYPO3 backend the TCA property “exclusiveKeys” of column type “select” prevents a backend user from selecting an item if only one key is set.

It expects a string (list of) but only works if it is set to at least two keys seperated by a comma.

  • works: ‘exclusiveKeys’ => ‘-1,-999’
  • does not work: ‘exclusiveKeys’ => ‘-1’

“Does not work” means that no item can be selected at all – a JavaScript error is thrown instead.

Enclosed please find a screenshot of the error message the Chrome developer tools show.

Reviews 2