multiple slider use error

web
mobile

Topic: multiple slider use error

Paul Kim (Little Tiger) pro asked 10 months ago

Expected behavior show a proper number on the slider

Actual behavior the first slider is showing the right number but the second one is overwritten with the first number

Resources (screenshots, code snippets, etc.)


Piotr Obrebski staff answered 10 months ago

Hi,

to make 2 separate value indicators working on our sliders you need to create them in separate form tags. I prepared snippet with simple solution for you:

https://mdbootstrap.com/snippets/jquery/pjoter-2-0/791922

If you need additional help I am here for you.

Best regards, Piotr


Paul Kim (Little Tiger) pro commented 10 months ago

can not be in one form?


Piotr Obrebski staff commented 10 months ago

I am not 100% sure there is no other way of proper implementation but right now this is how slider is coded and we recomend using it this way. I added this functionality to our task list to make sure many sliders can be used in one form in the future.


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.8.0
  • Device: window
  • Browser: crome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No