InputRange does not support floating point step width


Topic: InputRange does not support floating point step width

schmidtfx asked 5 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 5 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

Open

Specification of the issue
  • User: 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