Currently, LiteCreditInput is not working on the web (using react-native-web) because the inputs are number inputs, which on the web will not allow non-numeric characters (i.e. spaces, /, etc.). Additionally, focus outlines are making the display look different from on iOS / Android.
Solution
This PR adds two fixes:
Changes the input type to text on web (by removing the keyboardType prop)
The Problem
Currently,
LiteCreditInput
is not working on the web (using react-native-web) because the inputs are number inputs, which on the web will not allow non-numeric characters (i.e. spaces,/
, etc.). Additionally, focus outlines are making the display look different from on iOS / Android.Solution
This PR adds two fixes:
text
on web (by removing thekeyboardType
prop)