Commit e5c160bc authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! erp5_web_renderjs_ui: Improve fields to propagate error_text

parent 0b75935d
Pipeline #13184 failed with stage
in 0 seconds
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
state_dict.append = "%"; state_dict.append = "%";
} }
if (!window.isNaN(state_dict.precision)) { if (!window.isNaN(state_dict.precision)) {
state_dict.step = 1 / Math.pow(10, state_dict.precision); state_dict.step = Math.pow(10, -state_dict.precision).toFixed(state_dict.precision);
state_dict.value = state_dict.value.toFixed(state_dict.precision); state_dict.value = state_dict.value.toFixed(state_dict.precision);
} }
if (!window.isNaN(state_dict.value)) { if (!window.isNaN(state_dict.value)) {
......
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