We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c39545e commit 4aab5b7Copy full SHA for 4aab5b7
html/classhelper.js
@@ -565,6 +565,7 @@ class ClassHelper extends HTMLElement {
565
label.setAttribute("for", param);
566
label.textContent = ClassHelper.translations[param] + ":";
567
568
+ let focusSet = false
569
let input;
570
if (this.dropdownsData[param]) {
571
input = document.createElement("select");
@@ -601,6 +602,10 @@ class ClassHelper extends HTMLElement {
601
602
input.setAttribute("name", param);
603
input.setAttribute("id", param);
604
input.classList.add("search-input"); // Add class for styling
605
+ if (!focusSet) {
606
+ input.setAttribute("autofocus", "");
607
+ focusSet = true;
608
+ }
609
610
labelCell.appendChild(label);
611
inputCell.appendChild(input);
0 commit comments