Project

General

Profile

Actions

Bug #23843

closed

Date selector not working correctly in flexform with steps

Added by Gijs Oliemans about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-10-26
Due date:
% Done:

100%

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

Description

The date selector doesn't work at all when adding a new item in the backend in a plugin that uses a flexform with steps. Only existing (already saved) dates can be edited using the date selector popup.

Example flexform:

<T3DataStructure>

&lt;meta&gt;
&lt;langDisable&gt;1&lt;/langDisable&gt;
&lt;/meta&gt;
&lt;ROOT&gt;
&lt;TCEforms&gt;
&lt;sheetTitle&gt;Example&lt;/sheetTitle&gt;
&lt;/TCEforms&gt;
&lt;type&gt;array&lt;/type&gt;
&lt;el&gt;
&lt;steps type=&quot;array&quot;&gt;
&lt;type&gt;array&lt;/type&gt;
&lt;section&gt;1&lt;/section&gt;
&lt;tx_templavoila type=&quot;array&quot;&gt;
&lt;title&gt;Items&lt;/title&gt;
&lt;/tx_templavoila&gt;
&lt;el type=&quot;array&quot;&gt;
&lt;items type=&quot;array&quot;&gt;
&lt;type&gt;array&lt;/type&gt;
&lt;tx_templavoila type=&quot;array&quot;&gt;
&lt;title&gt;Item&lt;/title&gt;
&lt;eType&gt;input&lt;/eType&gt;
&lt;/tx_templavoila&gt;
&lt;el type=&quot;array&quot;&gt;
&lt;title&gt;
&lt;TCEforms&gt;
&lt;label&gt;Title&lt;/label&gt;
&lt;config&gt;
&lt;type&gt;input&lt;/type&gt;
&lt;size&gt;24&lt;/size&gt;
&lt;eval&gt;trim,required&lt;/eval&gt;
&lt;/config&gt;
&lt;/TCEforms&gt;
&lt;/title&gt;
&lt;date&gt;
&lt;TCEforms&gt;
&lt;label&gt;Date&lt;/label&gt;
&lt;config&gt;
&lt;type&gt;input&lt;/type&gt;
&lt;size&gt;8&lt;/size&gt;
&lt;eval&gt;date,required&lt;/eval&gt;
&lt;max&gt;20&lt;/max&gt;
&lt;checkbox&gt;1&lt;/checkbox&gt;
&lt;/config&gt;
&lt;/TCEforms&gt;
&lt;/date&gt;
&lt;/el&gt;
&lt;/items&gt;
&lt;/el&gt;
&lt;/steps&gt;
&lt;/el&gt;
&lt;/ROOT&gt;

</T3DataStructure>
(issue imported from #M16131)

Actions

Also available in: Atom PDF