Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name on Card holder cannot be set #244

Open
EyabKabha opened this issue Oct 7, 2024 · 0 comments
Open

Name on Card holder cannot be set #244

EyabKabha opened this issue Oct 7, 2024 · 0 comments

Comments

@EyabKabha
Copy link

Hi team,

Fist, thank you so much for your awesome package, then, there is no option to add field of "Name" card holder,

When i am passing name="Eyab" on the i can see the name - but on the <CreditCardInput
autoFocus
style={s.cardInput}
onChange={setFormData}
onFocusField={setFocusedField}
labels={{
number: 'Card Number',
expiry: 'Expiry Date',
cvc: 'CVC',
name: 'Name on Card',
}}
/>

i can't see the name field here, after investigating the issue, and go inside the CreditCardInput labels are the ( number: 'CARD NUMBER',
expiry: 'EXPIRY',
cvc: 'CVC/CVV') without the name of the card - could you please check?

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

No branches or pull requests

1 participant