Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

86
Visualizações
Get system region in Safari for iOS

In my web app there is an input for the amount with currency. I'm using React Currency Input Field to format it.

On my phone I have language set to Spanish and region set to Taiwan. Their decimal separators are comma , and dot . respectively.

The problem is that iOS displays the numeric keyboard with dot as a separator, while the library expects a comma. In a result it is not possible to insert a separator at all.

Standard keyboard would affect the UX so it is out of the question.

The method window.navigator.locale returns language code: es-ES. However, in my case I need to retrieve a device's region.

Is there any method to retrieve system region? If not, shall the web app have region defined as the optional settings?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda