Skip to content

Commit a9ed690

Browse files
authored
Merge pull request #3093 from jeedom/fix-set-historizeRound
force 1 number and int for historizeRound
2 parents c5841a8 + 87546e3 commit a9ed690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/modal/cmd.configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@
365365
<sup><i class="fas fa-question-circle" title="{{Nombre de décimales}}"></i></sup>
366366
</label>
367367
<div class="col-sm-6">
368-
<input class="cmdAttr form-control" data-l1key="configuration" data-l2key="historizeRound" />
368+
<input class="cmdAttr form-control" data-l1key="configuration" data-l2key="historizeRound" type="number" min="0" max="9" step="1" maxlength="1" oninput="this.value = this.value.slice(0, 1)"/>
369369
</div>
370370
</div>
371371
<?php }

0 commit comments

Comments
 (0)