- Merge request !2Render a plain input with a placeholder if the element is disabled → (Merged) created by skounis
- First commit to issue fork.
Automatically closed - issue fixed for 2 weeks with no activity.
When the "stripe" field is marked as disabled the processStripe
method is fully executed and the with the use of the STRIPE API a payment_intent
is created.
In addition to this the Stripe Card (iframe) is rendered it intervene in the submissions process. The sumbission process do not complete properly.
Use example form that comes with the stripe
module and mark the card
element as #disabled
$form['card'] = [
'#type' => 'stripe',
'#title' => $this->t('Credit card'),
'#description' => $this->t('You can use test card numbers and tokens from @link.', [
'@link' => $link_generator->generate('stripe docs', Url::fromUri('https://stripe.com/docs/testing')),
]),
'#stripe_paymentintent_unique' => TRUE,
'#stripe_currency' => 'eur',
'#disabled' => TRUE
];
The form is availabe in the path:
If the element is marked as #disabled render just a disabled input field with a placehodler.
Needs review
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.