Skip to content

Bug: AutoUnmask doesn't respect RadixPoint #4

@FoxyBOA

Description

@FoxyBOA

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(",");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions