Issue Bug Closed

#23843Date selector not working correctly in flexform with steps

Gijs Oliemans 10/26/10, 11:29 updated 10/02/18, 12:22

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> <meta><br> <langdisable>1</langdisable><br> <root> <tceforms><br> <sheettitle>Example</sheettitle><br> </tceforms> <type>array</type> <el> <steps type="array"> <type>array</type><br> <section>1</section> <tx_templavoila type="array"><br> <title>Items</title><br> </tx_templavoila> <el type="array"> <items type="array"> <type>array</type><br> <tx_templavoila type="array"><br> <title>Item</title><br> <etype>input</etype><br> </tx_templavoila> <el type="array"> <title>&lt;br /&gt; &lt;TCEforms&gt;&lt;br /&gt; &lt;label&gt;Title&lt;/label&gt;&lt;br /&gt; &lt;config&gt;&lt;br /&gt; &lt;type&gt;input&lt;/type&gt;&lt;br /&gt; &lt;size&gt;24&lt;/size&gt;&lt;br /&gt; &lt;eval&gt;trim,required&lt;/eval&gt;&lt;br /&gt; &lt;/config&gt;&lt;br /&gt; &lt;/TCEforms&gt;&lt;br /&gt; </title> <date><br> <tceforms><br> <label>Date</label><br> <config><br> <type>input</type><br> <size>8</size><br> <eval>date,required</eval><br> <max>20</max><br> <checkbox>1</checkbox><br> </config><br> </tceforms><br> </date> </el> </items> </el> </steps> </el> </root> <p></p></t3datastructure>
(issue imported from #M16131)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.