Currency mask does not work correctly when groupseparator occurs as first character in the suffix #1494
Closed
Description
I'm using currency input mask with currency symbol Euro (€) and since version 3.3.4 it does not work correctly. In the earlier versions it worked OK, but not on Android devices. It did not work correctly even before on Android devices.
Example:
$(input).inputmask("currency", {
groupSeparator: " ",
autoGroup: true,
suffix: " €",
prefix: "",
digits: 0
});
It seems, that problem causes combination space " " group separator and suffix.
For more details see example with latest version: http://jsfiddle.net/5wkwgkgx/8/
and with version 3.3.3: http://jsfiddle.net/5wkwgkgx/10/