Actions
Bug #68720
closedMultiple sliders in flexform
Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2015-08-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
It is not possible to display more than one slider wizard in flexform.
Flexform code:
<settings.slider.slick.autoplaySpeed> <TCEforms> <label>LLL:EXT:content/Resources/Private/Language/locallang_be.xlf:settings.slider.autoplaySpeed</label> <config> <type>input</type> <size>5</size> <default>3000</default> <eval>num</eval> <range> <lower>1000</lower> <upper>10000</upper> </range> <wizards> <autoplaySpeed> <type>slider</type> <step>100</step> <width>200</width> </autoplaySpeed> </wizards> </config> </TCEforms> </settings.slider.slick.autoplaySpeed> <settings.slider.slick.speed> <TCEforms> <label>LLL:EXT:content/Resources/Private/Language/locallang_be.xlf:settings.slider.speed</label> <config> <type>input</type> <size>4</size> <default>300</default> <eval>num</eval> <range> <lower>100</lower> <upper>1000</upper> </range> <wizards> <speed> <type>slider</type> <step>100</step> <width>200</width> </speed> </wizards> </config> </TCEforms> </settings.slider.slick.speed>
None of the sliders will be displayed,if I configure more than one.
The HTML of all slider gets generated, e.g.:
<div id="slider-ID0cf3af712c"></div>
The Chrome dev tools show some javascript errors:
Uncaught SyntaxError: Unexpected token < FormEngine.js:35 Uncaught TypeError: Cannot read property 'FormEngine' of undefined(anonymous function) @ FormEngine.js:35context.execCb @ require.js:1650Module.check @ require.js:866Module.enable @ require.js:1143Module.init @ require.js:774callGetModule @ require.js:1170context.completeLoad @ require.js:1544context.onScriptLoad @ require.js:1671 tceforms.js?1404745796:34 Uncaught TypeError: Cannot read property 'datePickerUSmode' of undefined
If i remove all except one slider wizard the one is displayed no matter which. So it's not a configuration problem.
Tested with 6.2.14 and 6.2.15-dev 71bb83d
Actions