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

[Feature Request] Allow labels for min and max in v-slider component #10079

Open
mitar opened this issue Dec 31, 2019 · 2 comments
Open

[Feature Request] Allow labels for min and max in v-slider component #10079

mitar opened this issue Dec 31, 2019 · 2 comments
Labels

Comments

@mitar
Copy link
Contributor

mitar commented Dec 31, 2019

Problem to solve

Currently I can have labels on ticks on the slider. But this means that a fixed set of values have to be defined. In the case that all values between min and max are valid, it is still useful to display what are those min and max values, in the same way labels for ticks are shown.

Proposed solution

Allow specifying a min and max labels. They should be shown as a 2-ticks labels would have been shown (but all values between those two labels are allowed to be selected).

@ghost ghost added the S: triage label Dec 31, 2019
@KaelWD
Copy link
Member

KaelWD commented Dec 31, 2019

Related: #9593
Workaround: https://codepen.io/kaelwd/pen/VwYMPBK?editors=1010

@KaelWD KaelWD added C: VSlider VSlider T: feature A new feature has workaround and removed S: triage labels Dec 31, 2019
@mitar
Copy link
Contributor Author

mitar commented Dec 31, 2019

Hm, but this still does not allow all values to be set, because step is 0.1. I could be increasing the precision of the step, but that would then require very large tickLabels array. But very interesting workaround nevertheless. Thanks.

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

No branches or pull requests

2 participants