Commit 1a0d75c6 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Support disabled property for stringfield

parent a64d97cb
......@@ -39,6 +39,11 @@
} else {
element.removeAttribute('required');
}
if (field_json.disabled) {
element.setAttribute("disabled", "disabled");
} else {
element.removeAttribute('disabled');
}
} else {
element = this.element.querySelector('p');
if (element === null) {
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>953.628.51543.17476</string> </value>
<value> <string>953.643.50676.9335</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1470314253.13</float>
<float>1470315124.05</float>
<string>UTC</string>
</tuple>
</state>
......
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