--- a/svghmi/widget_input.ysl2 Sat Apr 04 22:32:54 2020 +0200
+++ b/svghmi/widget_input.ysl2 Tue Apr 07 10:01:23 2020 +0200
@@ -27,10 +27,10 @@
| },
| on_op_click: function(opstr) {
| let new_val = change_hmi_value(this.indexes[0], opstr);
- if "$have_value"{
- | this.value_elt.textContent = String(new_val);
- /* TODO gray out value until refreshed */
- }
+ // if "$have_value"{
+ // | this.value_elt.textContent = String(new_val);
+ // /* TODO gray out value until refreshed */
+ // }
| },
| on_edit_click: function(opstr) {
| edit_value("«path/@value»", "«path/@type»", this, this.last_val);
@@ -38,9 +38,9 @@
| edit_callback: function(new_val) {
| apply_hmi_value(this.indexes[0], new_val);
- if "$have_value"{
- | this.value_elt.textContent = String(new_val);
- /* TODO gray out value until refreshed */
- }
+ // if "$have_value"{
+ // | this.value_elt.textContent = String(new_val);
+ // /* TODO gray out value until refreshed */
+ // }
| },
}