multiple slider use error


Topic: multiple slider use error

Paul Kim (Little Tiger) pro priority vip early access premium asked 5 years 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.)


MDBootstrap staff pro premium priority answered 5 years 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 priority vip early access premium commented 5 years ago

can not be in one form?


MDBootstrap staff pro premium priority commented 5 years 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.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

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