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

Setting allowDecimalPadding to false causes autoNumeric Warning #8

Open
nathanvogel opened this issue May 12, 2019 · 1 comment
Open

Comments

@nathanvogel
Copy link

Hi,

If I set allowDecimalPadding to false, autoNumeric produces this warning:

Warning: Setting 'allowDecimalPadding' to [false] will override the current 'decimalPlaces*' settings [2, 2 and 2].

Even if I don't provide any decimalPlaces* setting.

@kaikun213
Copy link

Having the same issue. Guess because decimalPlaces default is [2] it also triggered without explicitly setting it.

It seems kind of unnecessary as the two settings are relatively unrelated.
E.g. in my case I want to allow 4 decimal places but disable the automatic padding.

Why warn for that intended behavior?

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

2 participants