Problem/Motivation

On initial setup of automatic csv export settings cannot be saved if using email.

Steps to reproduce

  1. Create new webform
  2. Go to Automatic CSV Export settings (Results > Download)
  3. Enable Automatic Export
  4. Enable Email
  5. Provide any e-mail, subject and body
  6. Attempt saving settings

The following is reported in the browser console:

An invalid form control with name='email_body[value]' is not focusable.

See attached file for full message.

Proposed resolution

I believe this is related to https://www.drupal.org/project/drupal/issues/2722319. I currently have no fix.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

jekuaitk created an issue. See original summary.

jekuaitk’s picture

Issue summary: View changes
jekuaitk’s picture

Providing a non-empty default value for email_body makes the settings saveable but at the cost of the requiredness.