Adding an External media element to a Webform hides all submit buttons

Created on 5 July 2023, over 1 year ago
Updated 19 October 2023, about 1 year ago

Problem/Motivation

Adding a an External media element (External media file or External media image) hides all input elements of type "submit" which includes the form submit button because the module search in the whole form element.

Steps to reproduce

  1. Create a webform with a submit button
  2. Add a External media file or External media image
  3. View the form on the frontend and you should not see the submit button

Proposed resolution

Change the core.js to hide only submit buttons in the context of ".external-media-widget-wrapper".

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jpontet

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

Comments & Activities

Production build 0.71.5 2024