Project

General

Profile

Actions

Bug #24871

closed

Required select box element isn't required

Added by Anonymous almost 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

With the following configuration, the select box isn't required (but it should as the value of the default item is empty).

$tempColumns = Array (
"tx_blabla_foobar" => Array (
"exclude" => 1,
"label" => "LLL:EXT:blabla_foobar/locallang_db.php:pages.tx_blabla_foobar",
"config" => Array (
"type" => "select",
"items" => Array (
Array("",0),
),
"foreign_table" => "tx_blabla_foobar",
"foreign_table_where" => " ORDER BY tx_blabla_foobar.uid",
"size" => 1,
"minitems" => 1,
'allowNonIdValues' => 0,
"maxitems" => 1,
)
),

This bug seems to persist since 2005 or even earlier and isn't solved yet.

Here some documentation about earlier reportings that prove what I say:
http://lists.typo3.org/pipermail/typo3-dev/2009-April/034893.html
http://www.typo3.net/forum/beitraege/extensions_schreiben/30794/
(issue imported from #M17380)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #24925: Mandatory for Selectbox with TCA not possibleClosedBenni Mack2011-02-02

Actions
Actions

Also available in: Atom PDF