fix: `inputmode` attribute fixed for float settings #117

This commit is contained in:
Yurii
2024-12-31 01:48:44 +03:00
parent de2318bc6a
commit b53dae6a43
2 changed files with 13 additions and 13 deletions

View File

@@ -134,12 +134,12 @@
<div class="grid">
<label>
<span data-i18n>sensors.correction.offset</span>
<input type="number" inputmode="numeric" name="offset" min="-20" max="20" step="0.01" required>
<input type="number" inputmode="decimal" name="offset" min="-20" max="20" step="0.01" required>
</label>
<label>
<span data-i18n>sensors.correction.factor</span>
<input type="number" inputmode="numeric" name="factor" min="0.01" max="10" step="0.01" required>
<input type="number" inputmode="decimal" name="factor" min="0.01" max="10" step="0.01" required>
</label>
</div>
</details>
@@ -159,7 +159,7 @@
<label>
<span data-i18n>sensors.filtering.factor.title</span>
<input type="number" inputmode="numeric" name="filteringFactor" min="0.01" max="1" step="0.01">
<input type="number" inputmode="decimal" name="filteringFactor" min="0.01" max="1" step="0.01">
<small data-i18n>sensors.filtering.factor.note</small>
</label>
</div>