slider: Basic example doesn't even work
I’m on the latest version: 3.1.4 with react@0.14.2
I can’t get a simple basic slider to work without getting the following error:
Cannot read property 'toFixed' of undefined
Any clue what’s this about? I need to apparently set the marks props… but that won’t make it a basic slider right?
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 21 (9 by maintainers)
Commits related to this issue
- fix: crash when rerender #57 — committed to react-component/slider by benjycui 9 years ago
- fix: crash when rerender #57 — committed to react-component/slider by benjycui 9 years ago
- fix: crash when rerender #57 — committed to react-component/slider by benjycui 9 years ago
- Merge pull request #60 from react-component/fix-rerender fix: crash when rerender #57 — committed to react-component/slider by just-boris 9 years ago
the slider doesn’t fire off an event object – like regular input tags. That would be preferred, so one could use
e.target.nameande.target.valuein handlers – especially when you have multiple sliders for different values.2021 and I having the same old issue:
Slider[max] - Slider[min] should be a multiple of Slider[step]@cpruijsen