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

Empty and $0.00 are different #61

Open
zhouchong90 opened this issue Jan 31, 2017 · 1 comment
Open

Empty and $0.00 are different #61

zhouchong90 opened this issue Jan 31, 2017 · 1 comment

Comments

@zhouchong90
Copy link

I want to be able to distinguish '' from $0.00, which has value of 0. The clearOnEmpty attribute can give me '', but not 0. Can you fix it?

@leuterio
Copy link

leuterio commented Dec 6, 2018

Try commenting the following: var clearOnEmpty = options.clearOnEmpty; (line 62).
(so it will not load this function).

Working demo: https://jsfiddle.net/leuterio/p340vfsy/

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

3 participants