diff --git a/src/common/runtime/standalone.ts b/src/common/runtime/standalone.ts index 3f7333c1eb3..aefcc2946cc 100644 --- a/src/common/runtime/standalone.ts +++ b/src/common/runtime/standalone.ts @@ -633,17 +633,21 @@ void (async () => { return select; }; - for (const [optionName, info] of Object.entries(optionsInfos)) { + Object.entries(optionsInfos).forEach(([optionName, info], i) => { + const id = `option${i}`; const input = typeof optionValues[optionName] === 'boolean' ? createCheckbox(optionName) : createSelect(optionName, info); + input.attr('id', id); $('