Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

input[type='number'] not working

  • 1 resposta
  • 1 tem este problema
  • 9 visualizações
  • Última resposta por TyDraniu

more options

Facing an issue with input tag when type attribute is set to 'number'. This allows me even to enter letters and special characters. Basically the check of type number is not working. Please look into this.

Attaching a screenshot of the MDN website. The input area corresponding to the type number allows me to enter the characters. You can see that I have entered '@!25'. Requesting to please look into this asap.

Facing an issue with input tag when type attribute is set to 'number'. This allows me even to enter letters and special characters. Basically the check of type number is not working. Please look into this. Attaching a screenshot of the MDN website. The input area corresponding to the type number allows me to enter the characters. You can see that I have entered '@!25'. Requesting to please look into this asap.
Capturas de ecrã anexadas

Todas as respostas (1)

more options

Hi, that's OK for us and we're not going to change it for now. You can use the client-side validation, or filter your keys using keydown events.