Skip to content

Adding style and ref props to individual TextInputs, updating UX on LiteCreditCardInput, replacing TouchableOpacity with Pressable#243

Open
fbele wants to merge 1 commit intosbycrosz:mainfrom
fbele:fbele_extended-features
Open

Adding style and ref props to individual TextInputs, updating UX on LiteCreditCardInput, replacing TouchableOpacity with Pressable#243
fbele wants to merge 1 commit intosbycrosz:mainfrom
fbele:fbele_extended-features

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