Project

General

Profile

Actions

Bug #31920

closed

Form element with attribute value "0"

Added by Arjen Hoekema about 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2011-11-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

It should be possible to create form fields/elements with attributes containing "0".

Currently all attributes are checked with "empty()" which returns false upon 0 and "0".

Functions which contain "empty()" check:
tx_form_View_Form_Element_Abstract->setAttribute
tx_form_View_Form_Element_Abstract->setAttributes
tx_form_View_Form_Element_Abstract->setAttributeWithValueofOtherAttribute


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #64359: sysExt:Form Renders all Fields as Text InputClosed2015-01-19

Actions
Actions

Also available in: Atom PDF