stepper.js icon indicating copy to clipboard operation
stepper.js copied to clipboard

step interval behaving like native number input field

Open mattez opened this issue 7 years ago • 4 comments

mattez avatar Jun 04 '18 14:06 mattez

Could you explain what this solves? Thanks!

gijsroge avatar Jun 04 '18 14:06 gijsroge

It should respect min, max and step. So example: max=10 min= 0 step=4

If you write "2" in the input and then hit "up button" it should input "4" (not "6" as now). I was hasty. I have not tested it yet. I'll do it.

mattez avatar Jun 04 '18 15:06 mattez

Ah, completely missed that. Let me know if its ready, i'll test it myself and merge it. Thanks!

gijsroge avatar Jun 04 '18 18:06 gijsroge

So I already tested. And IMHO it works fine.

mattez avatar Nov 27 '18 16:11 mattez