Submit button not working on symfony mailer policy forms

Created on 17 December 2024, 3 months ago

Problem/Motivation

When editing an exiting or creating a new Symfony mailer policy, the form submit button doesn't always work when Gin theme is enabled.

Steps to reproduce

  • Install and enable Gin theme.
  • Install Symfony Mailer
  • Go to
    1. admin/config/system/mailer and add a new policy, selecting any type of your choice. Leave the sub-type field empty. Try clicking on "Add and configure"s.
    2. admin/config/system/mailer/policy/symfony_mailer.test, add another adjuster (in my case it was a custom one) and click on "Save".

In both cases I got the following JavaScript error:

Uncaught TypeError: Cannot read properties of null (reading 'click')
at HTMLInputElement. (themes/contrib/gin/dist/js/more_actions.js?sonm70:24:130)

🐛 Bug report
Status

Active

Version

4.0

Component

User interface

Created by

🇦🇹Austria mvonfrie

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

Comments & Activities

Production build 0.71.5 2024