Input type=number problem

in order to call the numeric keypad, however, at this time a bank card number, to add a space, number will automatically check, I would like to ask how to kill this check or what way to add a space.

Mar.29,2022

use type=tel
Don't use number


try it, you can add spaces to the phone.


according to your needs, type number is not fully supported. It is recommended to use ordinary input to handle change events


type=number is not completely compatible. Now you can choose to use type=tel or process the data after the input is completed.

Menu