Ionic2 navigator.globalization set pattern


#1

e use ionic2 and our customer requires a comma as decimal separators for currencies in input fields. At the same time he wants a device keyboard showing the comma. Apparently the only thing that is stopping us is the fact that the elements is using this numeric pattern: “#,##0.###” taken from globalization.

We need to change this pattern somehow, so that the function navigator.globalization.getNumberPattern() returns a promise with a value like: “###0,###” .

Is there a way to override this pattern in ionic/cordova? I can’t see any set method exposed by navigator.globalization…