Topic: InputRange does not support floating point step width

schmidtfx free asked 4 years ago


The Input range does not support floating points as step width.

The main reason is the following line:

https://git.mdbootstrap.com/mdb/react/re-pro/blob/master/src/components/pro/InputRange/InputRange.js#L61

If you change the parseInt to parseFloat it works as expected.


Piotr Glejzer staff commented 4 years ago

Thanks for the suggestion. We will do it. Have a nice day.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.25.0
  • Device: MacBook
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: Yes