Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range slider limit is 29, even when is set to 30 #1497

Closed
jozefbudac opened this issue Jun 17, 2021 · 1 comment
Closed

Range slider limit is 29, even when is set to 30 #1497

jozefbudac opened this issue Jun 17, 2021 · 1 comment

Comments

@jozefbudac
Copy link

INPUT: 0.9.8 releases
OS: both iOS & Android

Steps to reproduce:

  1. open project input-testing/forms_widgets
  2. add a feature to POI layer
  3. in the form on tab 'Numbers' there is a Range slider, which is set to: min -10, max 30, step 3. But the slider allows do to max 29 and can't be moved further

I am not sure, but I believe this worked in previous versions, so I marked is as regression

@PeterPetrik
Copy link
Contributor

PeterPetrik commented Apr 20, 2023

Thinking about it more, this is not a bug.

In the forms_widget allowed slider values are -10, -7, -4, -1, 2, 5, ...., 29. One can set value only if it is possible to get it via MIN_VAL + n . STEP, so starting from -10 and step 3 one is not able to get 30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants