Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Update the step argument for range sliders?

$
0
0

Hey there! I’m adding a range slider to my UI. According to MDN the step attribute should be a number or the string “any” to treat it like a contiguous range of numbers. However, with the current ReScript bindings the range slider step attribute only accepts a number.

Is there a way to override that locally? Or should I fork it and submit a PR to the react bindings?

Haven’t hit this case before so curious what options are available.

Source: <input type="range"> - HTML: HyperText Markup Language | MDN
Edit: Reproduction ReScript Playground


Viewing all articles
Browse latest Browse all 2592

Trending Articles