- Issue created by @DiDebru
- last update
about 1 year ago 793 pass - Status changed to Closed: won't fix
about 1 year ago 11:21am 12 March 2024 - 🇮🇱Israel jsacksick
We already include the drupal form library.
CheckoutFlowBase::buildForm() has the following code:
$form['#attached']['library'][] = 'commerce_checkout/form';
And the checkout form library has core/drupal.form as a dependency.
form: version: VERSION css: theme: css/commerce_checkout.form.css: {} dependencies: - core/drupal.form
- 🇩🇪Germany DiDebru
Ok strange because it didn't work.
But it did after I added the library. - 🇩🇪Germany DiDebru
I can see that the complete form has the library attached but the pane form does not.
Before I added the line and have xdebug on multiple instances spin up.
After I added the line only 1 spin up.
So yeah believe it or not this should be added also to pane forms.