Slider step
Can the slider step be set to values <1 e.g. .1, .01, etc. When I set it reflects it but won't let me change it. I looked at the source code on github and it seemed like it should still be working, I'll look further tomorrow but was wondering if anyone knew?
It has to support values less than 1 as well.Because the default min value itself zero.I will check it and get back to you.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
-
- Posts: 1
- Joined: 05 Jun 2018, 12:14
Hi,
I have tried to use this:
<p-slider formControlName="revenue" [range]="true" [step]="0.1" (onSlideEnd)="onSlideEnd($event, 'revenue')" [min]="DefaultMinRevenue" [max]="DefaultMaxRevenue"></p-slider>
However, the step is not working properly when it is smaller than 1.
Is there any schedule fixed on this issue?
Thanks.
I have tried to use this:
<p-slider formControlName="revenue" [range]="true" [step]="0.1" (onSlideEnd)="onSlideEnd($event, 'revenue')" [min]="DefaultMinRevenue" [max]="DefaultMaxRevenue"></p-slider>
However, the step is not working properly when it is smaller than 1.
Is there any schedule fixed on this issue?
Thanks.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests