Webform doesn't submit with civitheme input--submit.html.twig

Created on 11 August 2024, 4 months ago

Problem/Motivation

Our webform form submit is broken, and I was waiting to see if this would fix itself with Civictheme releases, but not so far. I just did a test where I disabled templates/form/input--submit.html.twig and reverted it to the default core twig, and the form started working again.

So i'm on the hunt to work out why.

This is core/webform markup on the submit button.

<div data-drupal-selector="edit-actions" id="edit-actions" class="js-form-wrapper form-wrapper">
  <input data-drupal-selector="edit-actions-submit" type="submit" id="edit-actions-submit" name="op" value="Send">
</div>

Civictheme markup on the submit button. This seems ok, guessing javascript related but i didn't see any errors so far.

<div data-drupal-selector="edit-actions" id="edit-actions" class="js-form-wrapper form-wrapper">
  <input type="submit" class="ct-button ct-theme-light ct-button--primary ct-button--submit ct-button--regular   webform-button--submit button button--primary js-form-submit form-submit" data-component-name="button" value="Send" data-drupal-selector="edit-actions-submit" id="edit-actions-submit" name="op" data-button="true">
</div>

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.8

Component

Code

Created by

🇦🇺Australia sime Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sime
  • Status changed to Closed: works as designed 4 months ago
  • 🇦🇺Australia sime Melbourne

    I'm just going to put this on hold. Form is currently working according to reports....

Production build 0.71.5 2024