Open FoxyBOA opened 6 years ago
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(",");
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)