Action buttons get clicked twice in Gin

Created on 7 February 2025, about 2 months ago

Problem/Motivation

When clicking the save button (or any of the others), the function gets executed twice. This is because the click subscriptions by bpmn_io use selectors like input.button.eca-save. The problem is, when Gin is installed, that finds 2 buttons, the visible one in the sticky toolbar and the hidden one from the original form, which Gin is hiding.

Proposed resolution

Make the selectors more precise with form input.button.eca-save.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024