[webform] Sticky action buttons not working sequently in webforms elements form

Created on 2 July 2024, 2 months ago
Updated 30 August 2024, 8 days ago

Problem/Motivation

The "Enable sticky action buttons" option seems to have some problems in Webform's AJAX edit forms:

- When editing a webform "Save elements" button in sticky actions works only on the first time you save the webform.
- After first save, another "Save elements" button will appear below the webform, and now only that will actually save it.

Steps to reproduce

See https://www.drupal.org/files/issues/2024-07-02/webform-sticky-actions.mov for a demonstration of the problem.

1. Create a site with Webform 6.2.3 and Gin 8.x-3.0-rc12 (for example with https://simplytest.me).
2. Enable "Enable sticky action buttons" in Gin settings.
3. Edit "Contact" webform ("admin/structure/webform/manage/contact") that comes with Webform module.
4. Set one of the elements not required and click "Save elements" in sticky actions, which works as expected.
5. Now another "Save elements" appears below the form, and only that can will actually save the webform.

🐛 Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

🇫🇮Finland ilkkave

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024