Bug #83457

TCA renderType selectCheckBox didn't check minitems

Added by Tobias Klepp over 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2018-01-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I configured my extension table with a mm relation fiedl and used the renderType selectCheckBox and a configuration for minitems = 1, but you can save the record in the backend without a warning. No error message / info is displayed.

My TCA configuration:

'config' => [
  'type' => 'select',
  'renderType' => 'selectCheckBox',
  'foreign_table' => 'tx_extkey_table',
  'foreign_table_where' => 'AND tx_extkey_table.sys_language_uid IN (-1,0) ORDER BY tx_extkey_table.title',
  'minitems' => 1,
  'MM' => 'tx_extkey_table_mm',
],

Related issues

Related to TYPO3 Core - Bug #79525: No Validation for required checkboxesNew2017-01-29

Actions
Related to TYPO3 Core - Bug #84012: Toggle all function at TCA control selectCheckBox ignores 'onChange' => 'reload'New2018-02-22

Actions
Has duplicate TYPO3 Core - Bug #93191: FormEngine validation is broken with selectMultipleSideBySideClosedAndreas Fernandez2020-12-31

Actions

Also available in: Atom PDF