andreaswilli/react-verification-input

Change input type?

centauruspool opened this issue · 2 comments

Is there any way to change the input type?

Would be really helpful if we could change it to 'tel'.

<input type="tel" />

This means that on hybrid apps it would open the numeric keyboard which I believe it's a must.

Thanks!

Everything from the inputField prop gets passed on to the input element.
So you can do this:

<VerificationInput inputField={{ type: "tel" }} />

I hope this helps.

It works, thanks!