commit 12a654cf235b070e6cc11f4c128cf97d9098c9fb
parent 18ade056c3bedeb121032b5a57c81064f187fd57
Author: Emily McMinn <emcminn@mozilla.com>
Date: Tue, 28 Oct 2025 17:47:21 +0000
Bug 1995798 - Add the ID of single select items to telemetry r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D270061
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/browser/components/aboutwelcome/content-src/components/SingleSelect.jsx b/browser/components/aboutwelcome/content-src/components/SingleSelect.jsx
@@ -112,7 +112,7 @@ export const SingleSelect = ({
tilebutton,
}) => {
const value = id || theme;
- let inputName = "select-item";
+ let inputName = `select-item-${id}`;
if (!isSingleSelect) {
inputName = category === "theme" ? "theme" : id; // unique names per item are currently used in the wallpaper picker
}
diff --git a/browser/components/aboutwelcome/content/aboutwelcome.bundle.js b/browser/components/aboutwelcome/content/aboutwelcome.bundle.js
@@ -2906,7 +2906,7 @@ const SingleSelect = ({
tilebutton
}) => {
const value = id || theme;
- let inputName = "select-item";
+ let inputName = `select-item-${id}`;
if (!isSingleSelect) {
inputName = category === "theme" ? "theme" : id; // unique names per item are currently used in the wallpaper picker
}