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

[custom values] Parsed as number instead of returning "real" value #92

Open
11301969RMB opened this issue Jun 14, 2018 · 0 comments
Open

Comments

@11301969RMB
Copy link
Collaborator

Hello,

First of all, I really like your plugin. Good work!

However, I run into a small issue when using custom values.
I use custom values to display version numbers. For instance, I can have 17.5, 12.2b as well as 20.0.
This is the latter which is giving me problems. The library seems to parse my custom value as number and is returning 20 instead of 20.0, even though I passed a string in the custom array.

Hence when I get the value back in my backend, I can't find 20 in my array...

I made a JSFiddle to illustrate my issue: http://jsfiddle.net/c3fh5qe3/4/

I expected the library to output the custom value exactly as given initially.

What do you think?

Thanks, regard.

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

No branches or pull requests

1 participant