Bug #84801
closedTYPO3/CMS/Backend/ValueSlider does not initialize sliders added after requiring the js module
100%
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, ],
Updated by Georg Ringer over 6 years ago
is it because there are 2 slider items or because the 2nd is inside an inline relation?
Updated by B. Kausch over 4 years ago
- 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...
Updated by B. Kausch over 4 years ago
- Subject changed from multiple slider | inline | TCA | Backend to TYPO3/CMS/Backend/ValueSlider does not initialize sliders added after requiring the js module
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63598
Updated by Andreas Fernandez over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset add951cc88b52a101c6c16fcae3603ddffe9dfa8.