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 with decimal/float stepsize #16962

Closed
nielsswinkels opened this issue Jan 4, 2019 · 1 comment
Closed

range with decimal/float stepsize #16962

nielsswinkels opened this issue Jan 4, 2019 · 1 comment
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement

Comments

@nielsswinkels
Copy link

nielsswinkels commented Jan 4, 2019

Feature Request

Ionic version:

[x] **4.6.0

Describe the Feature Request

I want to have a stepsize smaller than 1 with the range element. For example 0.1

Describe Preferred Solution
step="0.1" should work

Describe Alternatives
I could use a bigger range and divide the result manually, but that's just an ugly workaround

Related Code
This is what I tried:

<ion-range min="0" max="1" step="0.1" snaps="true" [(ngModel)]="this.robotVolume" color="danger">
        <ion-icon range-left small color="danger" name="thermometer"></ion-icon>
        <ion-icon range-right color="danger" name="thermometer"></ion-icon>
      </ion-range>

Additional Context

i found these two old, closed issues:
#6812
#12153

@ionitron-bot ionitron-bot bot added the triage label Jan 4, 2019
@brandyscarney brandyscarney added type: feature request a new feature, enhancement, or improvement package: core @ionic/core package labels Jan 4, 2019
@ionitron-bot ionitron-bot bot removed the triage label Jan 4, 2019
@ionitron-bot
Copy link

ionitron-bot bot commented Jan 4, 2020

Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Thank you for using Ionic!

@ionitron-bot ionitron-bot bot closed this as completed Jan 4, 2020
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jan 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement
Projects
None yet
Development

No branches or pull requests

2 participants