chargebee-js-wrappers
chargebee-js-wrappers copied to clipboard
Cannot customize BorderColor
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!
@AtallahFatma the borderColor can be applied to the container element within which the Chargebee's field will get mounted.
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;
}