Closed (fixed)
Project:
Google Tag
Version:
2.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2024 at 16:41 UTC
Updated:
27 Nov 2026 at 18:25 UTC
Jump to comment: Most recent
Adding multiple google tag ID on the setting form is saving only first ID.
All Google tag ID's should be saved properly in the settings and configuration form at first instance.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
japerryConfirmed. Each tag ID textfield has its own #ajax on change, and that request races the "Add another ID" and "Save" clicks. With Add, its rebuild can leave a stale form behind, so the next Save keeps only the first ID. With Save, the textfield is disabled while its request runs, so the ID you just typed isn't submitted.
I opened MR !157:
Fixed!