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

Show card without inputs #573

Open
SDAdham opened this issue Sep 11, 2022 · 3 comments
Open

Show card without inputs #573

SDAdham opened this issue Sep 11, 2022 · 3 comments
Labels

Comments

@SDAdham
Copy link

SDAdham commented Sep 11, 2022

Hello, is it possible that i can display card information without input. Just for display purposes?

@melloware
Copy link
Collaborator

Well the one thing you could do is set the inputs to CSS style display: none to hide them.

@SDAdham
Copy link
Author

SDAdham commented Sep 12, 2022

display: none works great but I am unable to set card type and back color, this is what i get:

image
Hence, I receive from DB only the last 4 digits and card type.

@melloware
Copy link
Collaborator

the card type is determined mostly by the first 4-6 digits for example start typing "4400" and it flips to "Visa. Without those first digits it has no idea what kind of card it is.

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