arunghosh / react-pin-input

React PIN / OTP input component
MIT License
106 stars 43 forks source link

Numeric input doesnt display numeric keyboard #11

Open joelamouche opened 6 years ago

joelamouche commented 6 years ago

Hi,

First of all thank you for the module :)

Even though I put "numeric" as type for the input, the keyboard is not numeric at all for Android, and starts as numeric for Iphone, but then switches back to letters after one input.

Thanks for your help,

Antoine

arunghosh commented 6 years ago

Hello Antoine,

Thank you for the feedback. Are you using secret input?

The type="password" and numeric keyboard has some issues. I tried the solution provided in this stockoverflow link. But it didn't work.

joelamouche commented 6 years ago

Yes it is a secret input.

Do you mean you tried using inputmode ?

arunghosh commented 6 years ago

@joelamouche Sorry for the delay. I missed the notification for the comment. Yes I tried inputmode. But it didn't work.

Shruti776 commented 4 years ago

Hi,

numeric keyboard is not displayed for type number. Any update on this?

@arunghosh did you get any help?

arunghosh commented 4 years ago

@Shruti776 Sorry. I didn't find any help regarding this nor was is able to investigate.

Shruti776 commented 4 years ago

Hi,

any idea/update on if we use this library on saving only first character is stored as password in chrome autofill password. Can I either save all the values or disable the chrome autofill password when I enter the pin and save it.

@arunghosh, your inputs are appreciated..

Thanks, Shruti

SidorinAD commented 1 year ago

I have found workaround wich worked for me, do not pass "secret" prop to component, secretDelay={} will still make an input a password type, so its a win/win sutiation