I have a field for cpf in my app, so when the user is to populate cpf, the device should show only the numeric keypad. But if I change the <input type="text">
to <input type="number">
, the numeric keypad appears, but it does not allow me to type cpf correctly, because cfp is not exactly a number.
This problem also occurs with Cep, Cnpj, Phone.
Is there any way to indicate to ionic that that input should enable the numeric keypad, other than by changing <input type>
to number ?