diff --git a/src/web/HTMLIngredient.mjs b/src/web/HTMLIngredient.mjs index 6f3f5e66..03f4e983 100755 --- a/src/web/HTMLIngredient.mjs +++ b/src/web/HTMLIngredient.mjs @@ -31,7 +31,9 @@ class HTMLIngredient { this.target = config.target; this.defaultIndex = config.defaultIndex || 0; this.toggleValues = config.toggleValues; - this.id = "ing-" + this.app.nextIngId(); + this.ingId = this.app.nextIngId(); + this.id = "ing-" + this.ingId; + this.tabIndex = this.ingId + 2; // Input = 1, Search = 2 this.min = (typeof config.min === "number") ? config.min : ""; this.max = (typeof config.max === "number") ? config.max : ""; this.step = config.step || 1; @@ -56,6 +58,7 @@ class HTMLIngredient { @@ -69,6 +72,7 @@ class HTMLIngredient { @@ -82,6 +86,7 @@ class HTMLIngredient { @@ -104,6 +109,7 @@ class HTMLIngredient { `; for (i = 0; i < this.value.length; i++) { @@ -157,6 +165,7 @@ class HTMLIngredient { @@ -215,6 +225,7 @@ class HTMLIngredient { @@ -244,6 +255,7 @@ class HTMLIngredient { @@ -256,6 +268,7 @@ class HTMLIngredient { +
@@ -266,7 +266,7 @@
- +