Commit 852931d1 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Set value attribute on input to allow XPath search

parent 8a7d32de
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
.declareMethod('updateDOM', function () { .declareMethod('updateDOM', function () {
var textarea = this.element.querySelector('input'); var textarea = this.element.querySelector('input');
textarea.setAttribute('value', this.state.value);
textarea.value = this.state.value; textarea.value = this.state.value;
textarea.setAttribute('name', this.state.name); textarea.setAttribute('name', this.state.name);
textarea.setAttribute('type', this.state.type); textarea.setAttribute('type', this.state.type);
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>954.22957.5825.45619</string> </value> <value> <string>954.22957.21991.6673</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1475499680.08</float> <float>1475511138.87</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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