Range-slider library isn't loaded on a multistep form with ajax enabled (apart from step 1)

Created on 5 April 2022, over 2 years ago
Updated 11 August 2023, over 1 year ago

Problem/Motivation

I have a website with a multistep form with ajax enabled. If I put a range-slider element on the first step the range-slider library is loaded and the slider looks like it should be. When I put a range-slider element on the second step of my form the library isn't loaded and the element looks like a 'normal' webform slider element.

Does anyone know a solution to this problem?

It does go trough the right template: form-element--range-slider.html.twig

Steps to reproduce

Create a multistepform, enable AJAX and place a range-slider element on the first and second step.

Proposed resolution

Load the library on every step of the multistep form?

🐛 Bug report
Status

Active

Version

1.5

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024