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

When a range is between < 0 and > 0 (i.e: -50;200), value label does not show "0" #3

Open
CrossfireCurt opened this issue Feb 12, 2012 · 2 comments
Labels

Comments

@CrossfireCurt
Copy link

Steps to reproduce:
#1. Create a slider with the following properties:

$("#Slider").slider({
from: -50,
to: 200,
step: 5,
dimension: '%',
skin: 'blue',
scale: ['-50', '|', '0', '|', '50', '|', '100', '|', '150', '|', '200']
});
#2. Load the page.
#3. Drag the left slider over "0" marker.

Actual Result:
Value label shows "%".

Expected Result:
Value label shows "0%".

egorkhmelev added a commit that referenced this issue Feb 12, 2012
@egorkhmelev
Copy link
Owner

Seems like an issue in jquery.numberformatter plugin. I have created a ticket there http://code.google.com/p/jquery-numberformatter/issues/detail?id=60

Pushed temp fix to use "format: { format: "#,##0.##" }" by default.

@CrossfireCurt
Copy link
Author

Awesome. Thanks Egor - love the plugin!

Sent from my iPhone

On Feb 12, 2012, at 4:00 PM, Egor Khmelevreply@reply.github.com wrote:

Seems like a bug in jquery.numberformatter plugin. I have created an issue ticket there http://code.google.com/p/jquery-numberformatter/issues/detail?id=60

Pushed temp fix to use "format: { format: "#,##0.##" }" by default.


Reply to this email directly or view it on GitHub:
https://github.com/hmelyoff/jslider/issues/3#issuecomment-3930969

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