Bug #84801
closed
TYPO3/CMS/Backend/ValueSlider does not initialize sliders added after requiring the js module
Added by Jakob Berlin over 6 years ago.
Updated over 4 years ago.
Category:
Backend JavaScript
Description
I've a model which has an inline model defined which itself uses slider to setup a value. When add the first inline object slider is shown. Add a second one will not show the slider anymore :(
base model
'type' => 'inline',
inline model
'slider' => [
'step' => 1,
'width' => 200,
],
is it because there are 2 slider items or because the 2nd is inside an inline relation?
- Category set to Backend JavaScript
- Target version set to next-patchlevel
- TYPO3 Version changed from 8 to 9
I can confirm this for Version 9 too. The main problem is the javascript module TYPO3/CMS/Backend/ValueSlider
. Once it was required (at loadtime or later when some inline record is added, which needs the module), it can only initialize those sliders currently present on the page. When you add a second inline record with a slider input, nothing triggers the init process...
- Subject changed from multiple slider | inline | TCA | Backend to TYPO3/CMS/Backend/ValueSlider does not initialize sliders added after requiring the js module
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF