Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230074

Ionic2 navigator.globalization set pattern

$
0
0

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…


Viewing all articles
Browse latest Browse all 230074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>