Commit 6cb4afac authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Eteri

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

parent 626ee20f
......@@ -35,8 +35,7 @@
state_dict.step = Math.pow(10, -field_json.precision);
value = value.toFixed(field_json.precision);
} else {
// XXX did previous default step value make sense? 0.00000001
state_dict.step = 1.0;
state_dict.step = 0.00000001;
}
if (percents) {
// ERP5 always devides the value by 10 if it is set to pe percentages
......@@ -103,4 +102,4 @@
return true;
});
}(window, rJS, Math));
\ No newline at end of file
}(window, rJS, Math));
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