1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Design Issue Strangeness with spin-box step a decimal...

Discussion in 'Resolved Bug Reports' started by Liam W, Dec 31, 2014.

  1. Liam W

    Liam W Well-Known Member

    If I set the step attribute on a number input to a decimal value, it behaves incorrectly.

    It behaves correctly when set to 0.5, but for other values it doesn't.

  2. Chris D

    Chris D XenForo Developer Staff Member

    Can you elaborate on this a bit?

    It's working for me with a value of 1.5. Which values for you aren't working?
  3. Mike

    Mike XenForo Developer Staff Member

    It's down to how floats work on computers. We don't officially support non-integer steps with spinboxes.
    Liam W and Chris D like this.

Share This Page