Answers for "input number has empty value"

0

input number has empty value

The hack is to use type="tel" instead of type="number".

This solves the 2 main issues:

It pulls up a number keypad on mobile devices
It validates (and is not empty) with numbers or non-numbers as input.
Posted by: Guest on June-29-2020

Code answers related to "input number has empty value"

Browse Popular Code Answers by Language