Commit fdc408cb authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Tomáš Peterka

[renderjs_ui] Return default mini-step to floatfield because it is necessary for field valication

parent 298979f4
...@@ -35,8 +35,7 @@ ...@@ -35,8 +35,7 @@
state_dict.step = Math.pow(10, -field_json.precision); state_dict.step = Math.pow(10, -field_json.precision);
value = value.toFixed(field_json.precision); value = value.toFixed(field_json.precision);
} else { } else {
// XXX did previous default step value make sense? 0.00000001 state_dict.step = 0.00000001;
state_dict.step = 1.0;
} }
if (percents) { if (percents) {
// ERP5 always devides the value by 10 if it is set to pe percentages // ERP5 always devides the value by 10 if it is set to pe percentages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment