jdfossapps/shop-with-mom

error in currency decimal separator

Opened this issue · 2 comments

Cannot use , as decimal separator and . do not work in cellphones with , as separador.
Tested in Android with Brazil as localization.

Hi @wiglot

This is a known issue with android. There is a possible workaround but I am still looking up the implications for other locales:

<EditText
android:inputType="number"
android:digits="0123456789.," />

If you know someone who faced this same bug and solved it please let me know

Other apps I've seen include either only , or both , and . but replace . by , so that when we tap . a , is inserted instead.