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

Card Company Logo for Individual Card Number Component #238

Open
Hanawa02 opened this issue Nov 29, 2024 · 1 comment
Open

Card Company Logo for Individual Card Number Component #238

Hanawa02 opened this issue Nov 29, 2024 · 1 comment
Labels

Comments

@Hanawa02
Copy link

It would be nice to have an option to display the company of a card on the Card Number Element component, this is currently only available at the Card Element component.

Also would be nice to be able to decide if it stay on the left or on the right.
image

@chrissrogers
Copy link
Member

Generally speaking, the Number Element is as bare-bones as possible and designed to have very few design opinions, to allow for maximum flexibility.

My recommendation to achieve something akin to this would be to listen to the change event emitted by the Number Element to display an icon which matches the ElementState#brand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants