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

How can I set prefix, postfix and tool tip without Decimal? is there any option like that? #35

Open
awaistechverx opened this issue May 2, 2017 · 3 comments

Comments

@awaistechverx
Copy link

No description provided.

@leongersen
Copy link

Yes, you can use the formatting option like you can on the slider:

https://refreshless.com/nouislider/slider-read-write/#section-formatting

@awaistechverx
Copy link
Author

awaistechverx commented May 2, 2017

this is for jquery not working with angular @leongersen

@Yankovsky
Copy link
Owner

@awaistechverx I've checked it, it works. Use "Manual Formatting" section for example this config:

    format: {
        to: function (value) {
            return value + ',-';
        },
        from: function (value) {
            return value.replace(',-', '');
        }
    }

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

No branches or pull requests

3 participants