Logic Machine Forum
2 demical places in temperature setpoint in touch visu - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: 2 demical places in temperature setpoint in touch visu (/showthread.php?tid=1136)



2 demical places in temperature setpoint in touch visu - AEK - 15.12.2017

Hi Everyone!
in touch visu we have setpoint with status objects
both have 2 demical places in vis params, step is set to 0.5
but when we click on "+" or "-" button we see only 30 or 30.5 values
we want to see 30.00 and 30.50 values

in html tree  we have this line
<input class="spinner-value" step="any" type="number">

if I will change it to
<input class="spinner-value" step="any" type="float">
value become to 30.00.
How can I save that change LM


RE: 2 demical places in temperature setpoint in touch visu - admin - 15.12.2017

Custom JavaScript:
Code:
$(function() {
  $('.touch .spinner-value').attr('type', 'text');
});



RE: 2 demical places in temperature setpoint in touch visu - AEK - 15.12.2017

(15.12.2017, 10:38)admin Wrote: Custom JavaScript:
Code:
$(function() {
 $('.touch .spinner-value').attr('type', 'text');
});
THanks!
this situation is bug or feature?

I think setpoint window should use params from "Vis params" button


RE: 2 demical places in temperature setpoint in touch visu - admin - 15.12.2017

This is required for mobile devices to show numeric-only keyboard when this field is focused. Browser controls the number formatting here.