TYPO3/CMS/Backend/ValueSlider does not initialize sliders added after requiring the js module
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 :(
'type' => 'inline',
'slider' => [ 'step' => 1, 'width' => 200, ],
[BUGFIX] Create new instance of ValueSlider per occurrence
This patch changes the behavior of the FormEngine internal ValueSlider
by creating a new instance per occurrence of the slider to fix issues
with sliders created in new or not loaded inline relations.
Due to the new structure of the module, it's moved into
Releases: master, 9.5
Tested-by: TYPO3com <firstname.lastname@example.org>
Tested-by: Anja Leichsenring <email@example.com>
Tested-by: Andreas Fernandez <firstname.lastname@example.org>
Reviewed-by: Susanne Moog <email@example.com>
Reviewed-by: Anja Leichsenring <firstname.lastname@example.org>
Reviewed-by: Andreas Fernandez <email@example.com>
- Target version set to next-patchlevel
- TYPO3 Version changed from 8 to 9
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...
#4 Updated by Gerrit Code Review 8 months 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