Commit 604db416 authored by Yusei Tahara's avatar Yusei Tahara

[erp5_web_renderjs_ui] Render MatrixBox in non-editable mode.

MatrixBox is often used for price tables or code tables. So it is always useful for end users to display its contents.
parent 17f5aec9
......@@ -12,6 +12,9 @@
// can contain editable fields
if (field.type === "ListBox") {return true; }
if (field.type === "FormBox") {return true; }
// MatrixBox is often used for price tables or code tables. So it is always
// useful for end users to display its contents.
if (field.type === "MatrixBox") {return true; }
// hidden fields should not be obviously rendered
if (field.hidden === 1) {return false; }
// empty default value must not be displayed
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>974.48369.21631.14967</string> </value>
<value> <string>977.8710.963.57139</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -246,8 +246,8 @@
</tuple>
<state>
<tuple>
<float>1554112407.89</float>
<string>UTC</string>
<float>1563356931.45</float>
<string>GMT+9</string>
</tuple>
</state>
</object>
......
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