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 @@
.declareMethod('updateDOM', function () {
var textarea = this.element.querySelector('input');
textarea.setAttribute('value', this.state.value);
textarea.value = this.state.value;
textarea.setAttribute('type', this.state.type);
......@@ -230,7 +230,7 @@
<key> <string>serial</string> </key>
<value> <string>954.22957.5825.45619</string> </value>
<value> <string>954.22957.21991.6673</string> </value>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
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