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

Bug: AutoUnmask doesn't respect RadixPoint #4

Open
FoxyBOA opened this issue Mar 20, 2018 · 0 comments
Open

Bug: AutoUnmask doesn't respect RadixPoint #4

FoxyBOA opened this issue Mar 20, 2018 · 0 comments

Comments

@FoxyBOA
Copy link

FoxyBOA commented Mar 20, 2018

If you type "1 000 000,00" amountField.getValue() will be "1000000,00" (why comma instead of typical dot).

I expect to have "1000000.00" with setAutoUnmask(true)
and "1 000 000,00" with setAutoUnmask(false)

        TextField amountField = new TextField("Amount:");
        ResetButtonForTextField.extend(amountField);
        InputMask amountInputMask = new InputMask(Alias.CURRENCY);
        amountInputMask.setAutoUnmask(true);
        amountInputMask.setGroupSeparator(" ");
        amountInputMask.setRadixPoint(",");

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

1 participant