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

new feature: explicitly set range and default value #8

Open
ginatrapani opened this issue May 15, 2020 · 3 comments
Open

new feature: explicitly set range and default value #8

ginatrapani opened this issue May 15, 2020 · 3 comments

Comments

@ginatrapani
Copy link
Member

Right now you can't set a slider to default to say, 3, but make the range 1-10. If you set it to 3, the range only goes to 6. If you set it to 1-10, the default is 5.

@ftrain
Copy link
Contributor

ftrain commented May 15, 2020

So you could have:

10 (default behavior is to set range min 0 max 20 default 10)
1-10 (set range min 1 max 10)
1-5-10 (set range min 1 max 10 default 5)

it makes parsing negatives (both actually and visually) harder so maybe

1
-1...10
-10...-5...10

or
-100
-100 - -100
-100 - -50 - 100

or

-100
-100 to -10
-100 to -50 to 100

idk, thinking

@ginatrapani
Copy link
Member Author

yeah I dislike - as the range notation, I wish it was 1..10 instead of 1-10

Extending on that, I'd love to indicate the default like this:

1..3..10 where 3 is the default.

@ginatrapani
Copy link
Member Author

or 3 dots, either way

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

No branches or pull requests

2 participants