-
-
Notifications
You must be signed in to change notification settings - Fork 921
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
[Slider] When props.step is not 1, allow max tick to be props.max #1483
Comments
I am sorry, I meant |
This is actually a logic of data verification, not a bug.
If the value of min is 1, the value of max is 14, and the value of step is 2, then there are 6.5 optional values, and we think that 0.5 is an invalid value. |
I refer to Slider of some other component libraries. We will consider it in combination with practical usage scenarios. |
Ok thank you! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What problem does this feature solve?
I'm using
and would like the max tick to be selectable.
What does the proposed API look like?
I don't know about the best prop name for this, but the prop could ensure
min
andmax
are in the ticks.Thanks in advance!
The text was updated successfully, but these errors were encountered: