This seems simple, but…
I want to clear another widgets (id:html_1) value when my widget changes. In my input widget I have as script: set : function('html_1', '')
. But it does not work…
I also tried to add @{input_1.value} in the html_1 value field. This does nothing either…
Linked id also does not seem to have an effect:
I changed linkId of the html to <<input_1
Ok, html is a special one. I have to use this in the html field:
@{input_1.value}
Surrounded by pre and /pre tags!
Then it works
Yes, that's it, but you don't need the .value
part. It could make sense to make the html widget use its value instead of this "html" property though.
You can also use a variable widget (under scripts) instead of an input to hold the value if you don't need the widget.
In my input widget I have as script:
set : function('html_1', '')
You should write set("input_id", '')