StripeCardElementOptions - add disabled property to classes
Closed this issue · 7 comments
What happened?
Please add a new property disabled
to StripeElementClasses
to let me change styles when I change StripeCardElementOptions
to disabled = true.
Or propagate this disabled state as data attribute within a existing className (base, complete, ...)
Currently, it's not possible to style such a input eg. wrapper background with card input fields.
Environment
https://docs.stripe.com/js/elements_object/create_element?type=card#elements_create-options-disabled
Reproduction
See the example on screenshot:
I can change the background only for the fields, but not for the whole wrapper as you can see on Email input.
Hello! Thank you for the screenshots and information – I see where you're trying to do some customization based on when the Element is disabled
. Unfortunately, we aren't really equipped to truly dive into your integration here on Github. Could you reach out to Stripe Support for help? This will allow us to better dive into your particular integration and see if there's an option that can work.
Unfortunately, we aren't really equipped to truly dive into your integration here on Github
It's a general thing. Nothing specific to my integration.
@awalker-stripe can you please resolve it here?
Hi @landsman. This looks like an integration question, and we aren’t able to answer those here on GitHub. Please reach out to Stripe Support for help.
@fruchtose-stripe can you just move this "feature request" to product team? It's a general thing.
Hi @landsman. I have flagged this issue internally. In the meantime, you may want to connect with Stripe Support for assistance with your integration.
Thank you.
I don't need the assistance.
I need support in JS SDK for this thing, that's all :)