Skip to content

Conversation

@fbele
Copy link

@fbele fbele commented Oct 1, 2024

I've added support to pass references as a prop to each individual TextInput element inside CreditCardInput and LiteCreditCardInput components. I've also added support to set styles for each individual TextInput element, in this case one can for example mark individual input if it's invalid using in combination with form data. I've also exchanged TouchableOpacity with Pressable as recommended by React itself. In LiteCreditCardInput version the focus moves to next field only if it's invalid and incomplete.

…iteCreditCardInput, replacing TouchableOpacity with Pressable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant