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

Cannot customize BorderColor #104

Open
AtallahFatma opened this issue Nov 15, 2022 · 2 comments
Open

Cannot customize BorderColor #104

AtallahFatma opened this issue Nov 15, 2022 · 2 comments

Comments

@AtallahFatma
Copy link

Our company just decided to use Chargebee and I'm working Chargebee component customisation.
But I can't move forward and be aligned with our design. I'm not able to add a red border-color when field is invalid, or onFocus..
Is it possible to add borderColor to the whitelisted styles?
Thank you in advance!

@cb-dinesh
Copy link
Contributor

@AtallahFatma the borderColor can be applied to the container element within which the Chargebee's field will get mounted.

@YassienW
Copy link

I couldn't find a way to change it with the style prop, but you can add the following class to your css

.invalid-card-input{
  border-color: red;
}

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

3 participants