Commit 136afbf6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! erp5_web_renderjs_ui: handle empty string value for float percent

parent d1353f4f
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
} }
if (input_style === PERCENT_INPUT_STYLE) { if (input_style === PERCENT_INPUT_STYLE) {
return text + '%'; return text ? text + '%' : '';
} }
var separator_dict = getSeparatorDict(input_style), var separator_dict = getSeparatorDict(input_style),
......
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